9 #define L_SET 0 /* absolute offset */
10 #define L_INCR 1 /* relative to current offset */
11 #define L_XTND 2 /* relative to end of file */
17 /* Operations for the `flock' call. */
18 #define LOCK_SH 1 /* Shared lock. */
19 #define LOCK_EX 2 /* Exclusive lock. */
20 #define LOCK_UN 8 /* Unlock. */
22 /* Can be OR'd in to one of the above. */
23 #define LOCK_NB 4 /* Don't block when locking. */
29 /* Apply or remove an advisory lock, according to OPERATION,
30 on the file FD refers to. */
31 extern int flock
__P ((int __fd
, int __operation
));