Merge branch 'master' of ssh://gapil.gnulinux.it/srv/git/gapil
[gapil.git] / listati / flock.h
1 struct flock {
2     short int l_type;   /* Type of lock: F_RDLCK, F_WRLCK, or F_UNLCK.  */
3     short int l_whence; /* Where `l_start' is relative to (like `lseek').*/
4     off_t l_start;      /* Offset where the lock begins.  */
5     off_t l_len;        /* Size of the locked area; zero means until EOF.*/
6     pid_t l_pid;        /* Process holding the lock.  */
7 };