\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 
\mbox{\Hypertarget{structflock_ad5898a4a2992bb3c599764d76e02767b}\label{structflock_ad5898a4a2992bb3c599764d76e02767b}} 
short int \hyperlink{structflock_ad5898a4a2992bb3c599764d76e02767b}{l\+\_\+whence}
\begin{DoxyCompactList}\small\item\em type of l\+\_\+start \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structflock_a692ebc7782fe6a11c9de67d7fd20cc8f}\label{structflock_a692ebc7782fe6a11c9de67d7fd20cc8f}} 
off\+\_\+t \hyperlink{structflock_a692ebc7782fe6a11c9de67d7fd20cc8f}{l\+\_\+start}
\begin{DoxyCompactList}\small\item\em starting offset \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structflock_af5dc2da04cf2af6e5b77018f9cdce489}\label{structflock_af5dc2da04cf2af6e5b77018f9cdce489}} 
off\+\_\+t \hyperlink{structflock_af5dc2da04cf2af6e5b77018f9cdce489}{l\+\_\+len}
\begin{DoxyCompactList}\small\item\em 0 means end of the file \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structflock_a5e84556aa660bd41cc8b8d862a547887}\label{structflock_a5e84556aa660bd41cc8b8d862a547887}} 
pid\+\_\+t \hyperlink{structflock_a5e84556aa660bd41cc8b8d862a547887}{l\+\_\+pid}
\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}
\mbox{\Hypertarget{structflock_a504cee7b604e5cd4f9eaa1346fc17672}\label{structflock_a504cee7b604e5cd4f9eaa1346fc17672}} 
\index{flock@{flock}!l\+\_\+type@{l\+\_\+type}}
\index{l\+\_\+type@{l\+\_\+type}!flock@{flock}}
\subsubsection{\texorpdfstring{l\+\_\+type}{l\_type}}
{\footnotesize\ttfamily short int flock\+::l\+\_\+type}



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



Referenced by fcntl().

