\hypertarget{structflock}{}\section{flock Struct Reference}
\label{structflock}\index{flock@{flock}}


A structure that controls the lock of a file descriptor.  


\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
short int \hyperlink{structflock_a504cee7b604e5cd4f9eaa1346fc17672}{l\+\_\+type}
\begin{DoxyCompactList}\small\item\em lock type\+: read, write, ... \end{DoxyCompactList}\item 
\hypertarget{structflock_ad5898a4a2992bb3c599764d76e02767b}{}short int \hyperlink{structflock_ad5898a4a2992bb3c599764d76e02767b}{l\+\_\+whence}\label{structflock_ad5898a4a2992bb3c599764d76e02767b}

\begin{DoxyCompactList}\small\item\em type of l\+\_\+start \end{DoxyCompactList}\item 
\hypertarget{structflock_a692ebc7782fe6a11c9de67d7fd20cc8f}{}off\+\_\+t \hyperlink{structflock_a692ebc7782fe6a11c9de67d7fd20cc8f}{l\+\_\+start}\label{structflock_a692ebc7782fe6a11c9de67d7fd20cc8f}

\begin{DoxyCompactList}\small\item\em starting offset \end{DoxyCompactList}\item 
\hypertarget{structflock_af5dc2da04cf2af6e5b77018f9cdce489}{}off\+\_\+t \hyperlink{structflock_af5dc2da04cf2af6e5b77018f9cdce489}{l\+\_\+len}\label{structflock_af5dc2da04cf2af6e5b77018f9cdce489}

\begin{DoxyCompactList}\small\item\em 0 means end of the file \end{DoxyCompactList}\item 
\hypertarget{structflock_a5e84556aa660bd41cc8b8d862a547887}{}pid\+\_\+t \hyperlink{structflock_a5e84556aa660bd41cc8b8d862a547887}{l\+\_\+pid}\label{structflock_a5e84556aa660bd41cc8b8d862a547887}

\begin{DoxyCompactList}\small\item\em lock owner \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
A structure that controls the lock of a file descriptor. 

\subsection{Field Documentation}
\hypertarget{structflock_a504cee7b604e5cd4f9eaa1346fc17672}{}\index{flock@{flock}!l\+\_\+type@{l\+\_\+type}}
\index{l\+\_\+type@{l\+\_\+type}!flock@{flock}}
\subsubsection[{l\+\_\+type}]{\setlength{\rightskip}{0pt plus 5cm}short int flock\+::l\+\_\+type}\label{structflock_a504cee7b604e5cd4f9eaa1346fc17672}


lock type\+: read, write, ... 



Referenced by fcntl().

