Flock download for mac

broken image
broken image
broken image

Parameter that is one of LOCK_SH or LOCK_EX with the optional addition of A lock is applied by specifying an operation SYNOPSIS #include #define LOCK_SH 1 /* shared lock */ #define LOCK_EX 2 /* exclusive lock */ #define LOCK_NB 4 /* don't block when locking */ #define LOCK_UN 8 /* unlock */ int flock( int fd, int operation) ĭESCRIPTION Flock() applies or removes an advisory lock on the file associated with

broken image

NAME flock - apply or remove an advisory lock on an open file These manual pages come from many different sources, and thus, have a variety of writingįor more information about the manual page format, see the manual page forįLOCK(2) BSD System Calls Manual FLOCK(2) You can view these manual pages locally using the Manual pages are a command-line technologyįor providing documentation. ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages