Searched defs:flock (Results 1 - 9 of 9) sorted by relevance
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | lckpwdf.c | 46 static struct flock flock = { variable in typeref:struct:flock 80 flock.l_type = F_WRLCK; 81 if (fcntl(fildes, F_SETLK, &flock) != -1) { 114 flock.l_type = F_UNLCK; 115 (void) fcntl(fildes, F_SETLK, &flock);
|
/osnet-11/usr/src/lib/pam_modules/authtok_check/ |
H A D | dict.c | 36 static struct flock flock = { 0, 0, 0, 0, 0, 0 }; variable in typeref:struct:flock 82 flock.l_type = F_WRLCK; 83 retval = fcntl(lockfd, F_SETLK, &flock); 107 flock.l_type = F_UNLCK; 108 (void) fcntl(lockfd, F_SETLK, &flock);
|
/osnet-11/usr/src/cmd/sendmail/aux/ |
H A D | mail.local.c | 66 ** If you don't have flock, you could try using lockf instead. 70 # define flock(a, b) lockf(a, b, 0) macro 801 * open(2) should support flock'ing the file. 956 || flock(mbfd, LOCK_EX) < 0 ||
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Tie/ |
H A D | File.pm | 1008 sub flock { subroutine 1012 croak "Usage: $pack\->flock([OPERATION])"; 1016 my $locked = flock $fh, $op; 2229 =head2 C<flock> 2231 $o->flock(MODE) 2234 argument to the Perl built-in C<flock> function; for example 2236 the C<use Fcntl ':flock'> declaration.) 2243 When you use C<flock> to lock the file, C<Tie::File> assumes that the 2246 successful call to C<flock> discards the contents of the read cache 2253 $o->flock; [all...] |
/osnet-11/usr/src/lib/libdevalloc/common/ |
H A D | libdevalloc.c | 193 _da_read_file(char *fname, char **fbuf, time_t *ftime, rwlock_t *flock, argument 205 if (rw_rdlock(flock) != 0) 208 (void) rw_unlock(flock); 213 (void) rw_unlock(flock); 221 if (rw_wrlock(flock) != 0) 224 (void) rw_unlock(flock); 232 (void) rw_unlock(flock); 238 (void) rw_unlock(flock); 242 (void) rw_unlock(flock); 246 if (rw_rdlock(flock) ! [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ |
H A D | pp_sys.c | 122 # define FLOCK flock 123 #else /* no flock() */ 136 # else /* no flock() or fcntl(F_SETLK,...) */ 141 # endif /* no flock() or fcntl(F_SETLK,...) */ 147 * These are the flock() constants. Since this sytems doesn't have 148 * flock(), the values of the constants are probably not available. 162 # endif /* emulating flock() */ 164 #endif /* no flock() */ 2269 DIE(aTHX_ PL_no_func, "flock()"); 5651 /* XXX Emulate flock() wit 5658 struct flock flock; local [all...] |
H A D | XSUB.h | 433 # define flock PerlLIO_flock macro
|
H A D | perl.h | 1861 # define flock flock64 macro 4232 int flock(int fd, int op);
|
/osnet-11/usr/src/lib/libzonecfg/common/ |
H A D | libzonecfg.c | 8329 struct flock flock; local 8334 flock.l_type = F_WRLCK; 8335 flock.l_whence = SEEK_SET; 8336 flock.l_start = (off_t)0; 8337 flock.l_len = (off_t)0; 8338 if ((fcntl(lockfd, F_GETLK, &flock) < 0)) { 8343 if (flock.l_type == F_UNLCK) 8345 return (flock.l_pid); 8376 struct flock floc local [all...] |
Completed in 132 milliseconds