File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 730730\item \texttt {F\_ GETLK }, \texttt {F\_ SETLK }, \texttt {F\_ SETLKW } \dots {}
731731for file locking
732732\end {itemize }
733- \item Note that there are two kinds of flags. Flags associated with the file
734- descriptor, having \texttt {FD } in the macro names \texttt {FD\_ CLOEXEC },
735- and flags associated with the slot in the system file table of opened files,
736- having \texttt {FL } in the \texttt {fcntl } command macros
737- (i.e. \texttt {F\_ GETFL }). See also the picture on page \pageref {OPENFILETABLES }.
733+ \item Note the difference between \texttt {fcntl } commands ending with
734+ \texttt {FD } and \texttt {FL }. While the former deal with a file descriptor, the
735+ latter deal with a file opening, i.e. particular slot in the system file table
736+ of opened files. See also the picture on page \pageref {OPENFILETABLES }.
738737\item Devices may support reading and writing using \texttt {read } and
739738\texttt {write }, and mapping files to memory (\texttt {mmap }, see page
740739\pageref {MMAP }), all other operations on devices (e.g. setting parameters,
You can’t perform that action at this time.
0 commit comments