Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2d8cc61

Browse files
committed
[ 755617 ] os module: Need a better description of "mode"
1 parent 2982252 commit 2d8cc61

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Doc/lib/libos.tex

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,11 @@ \subsection{Files and Directories \label{os-file-dir}}
764764
\item \code{S_IXOTH}
765765
\end{itemize}
766766
Availability: Macintosh, \UNIX, Windows.
767+
768+
\note{Although Windows supports \function{chmod()}, you can only
769+
set the file's read-only flag with it (via the \code{S_IWRITE}
770+
and \code{S_IREAD} constants or a corresponding integer value).
771+
All other bits are ignored.}
767772
\end{funcdesc}
768773

769774
\begin{funcdesc}{chown}{path, uid, gid}

0 commit comments

Comments
 (0)