Lines Matching defs:flags
59 * It will loop if the LOCK_NB flags is NOT set.
61 int file_lock(int fd, int flags, char **errormsg)
68 if (flags & LOCK_NB)
77 if (flags & LOCK_UN)
79 else if (flags & LOCK_EX)
81 else if (flags & LOCK_SH)
87 "Programmer error, called file_lock with in valid flags\n");
131 * It will loop if the LOCK_NB flags is NOT set.
133 int record_lock(int fd, int flags, int start, int len, char **errormsg)
140 if (flags & LOCK_NB)
149 if (flags & LOCK_UN)
151 else if (flags & LOCK_EX)
153 else if (flags & LOCK_SH)
159 "Programmer error, called record_lock with in valid flags\n");