Home | History | Annotate | Download | only in fcntl

Lines Matching full:flock

74 struct flock flock;
115 flock.l_type = F_WRLCK;
116 flock.l_whence = 0;
117 flock.l_start = 5L;
118 flock.l_len = 5L;
121 if ((fcntl(fd_B, F_SETLK, &flock)) < 0) {
252 flock.l_type = F_WRLCK;
253 flock.l_whence = 0;
254 flock.l_start = 0L;
255 flock.l_len = 5L;
258 if ((fcntl(fd_C, F_SETLK, &flock)) >= 0) {
265 flock.l_type = F_WRLCK;
266 flock.l_whence = 0;
267 flock.l_start = 5L;
268 flock.l_len = 5L;
271 if ((fcntl(fd_C, F_SETLK, &flock)) >= 0) {
316 flock.l_type = F_WRLCK;
317 flock.l_whence = 0;
318 flock.l_start = 0L;
319 flock.l_len = 5L;
322 if ((fcntl(fd_C, F_SETLK, &flock)) < 0) {
329 flock.l_type = F_WRLCK;
330 flock.l_whence = 0;
331 flock.l_start = 5L;
332 flock.l_len = 5L;
336 if ((fcntl(fd_C, F_SETLK, &flock)) >= 0) {
342 if ((fcntl(fd_C, F_SETLK, &flock)) < 0) {
416 flock.l_type = F_WRLCK;
417 flock.l_whence = 0;
418 flock.l_start = 0L;
419 flock.l_len = 5L;
422 if ((fcntl(fd_A, F_SETLK, &flock)) < 0) {
430 flock.l_type = F_WRLCK;
431 flock.l_whence = 0;
432 flock.l_start = 5L;
433 flock.l_len = 5L;
436 if ((fcntl(fd_B, F_SETLK, &flock)) < 0) {