Searched refs:LOCK_EX (Results 26 - 49 of 49) sorted by relevance

12

/openbsd-current/usr.bin/skeyinit/
H A Dskeyinit.c282 flock(l, LOCK_EX) != 0 ||
/openbsd-current/usr.sbin/lpr/lpr/
H A Dlpr.c671 if (flock(fd, LOCK_EX))
/openbsd-current/usr.sbin/lpr/lpc/
H A Dcmds.c197 if (fd < 0 || flock(fd, LOCK_EX) < 0) {
595 if (fd < 0 || flock(fd, LOCK_EX) < 0) {
/openbsd-current/gnu/usr.bin/perl/cpan/CPAN-Meta-YAML/lib/CPAN/Meta/
H A DYAML.pm580 flock( $fh, Fcntl::LOCK_EX() )
/openbsd-current/bin/ksh/
H A Dhistory.c679 history_lock(LOCK_EX);
/openbsd-current/usr.sbin/authpf/
H A Dauthpf.c228 if (flock(fileno(pidfp), LOCK_EX|LOCK_NB) == 0)
/openbsd-current/gnu/usr.bin/perl/win32/
H A Dwin32iop.h22 #define LOCK_EX 2 macro
H A Dwin32.c3098 case LOCK_EX: /* exclusive lock */
3106 case LOCK_EX|LOCK_NB: /* non-blocking exclusive lock */
/openbsd-current/gnu/usr.bin/perl/cpan/autodie/lib/
H A Dautodie.pm256 if ( flock($fh, LOCK_EX | LOCK_NB) ) {
/openbsd-current/regress/sys/kern/flock/
H A Dflock.c1242 #ifdef LOCK_EX
1302 flock(fd, LOCK_EX);
/openbsd-current/usr.sbin/adduser/
H A Dadduser.perl1457 while(!flock(F, LOCK_EX | LOCK_NB)) {
/openbsd-current/usr.sbin/rpc.lockd/
H A Dlockd_lock.c540 lflags |= LOCK_EX;
/openbsd-current/usr.bin/vi/common/
H A Dexf.c1402 return (flock(fd, LOCK_EX | LOCK_NB) ?
/openbsd-current/gnu/usr.bin/perl/dist/Tie-File/lib/Tie/
H A DFile.pm10 use Fcntl 'O_CREAT', 'O_RDWR', 'LOCK_EX', 'LOCK_SH', 'O_WRONLY', 'O_RDONLY';
1012 $op = LOCK_EX unless defined $op;
1015 if ($locked && ($op & (LOCK_EX | LOCK_SH))) {
2235 C<LOCK_SH> or C<LOCK_EX | LOCK_NB>. (These constants are provided by
2238 C<MODE> is optional; the default is C<LOCK_EX>.
/openbsd-current/gnu/usr.bin/perl/cpan/autodie/lib/autodie/
H A Dexception.pm351 # TODO: Our tests only check LOCK_EX | LOCK_NB is properly
366 if ($raw_mode & Fcntl::LOCK_EX() ) {
/openbsd-current/gnu/usr.bin/perl/
H A Dpp_sys.c157 # ifndef LOCK_EX
158 # define LOCK_EX 2 macro
5869 case LOCK_EX:
5938 /* LOCK_EX - get an exclusive lock */
5939 case LOCK_EX:
5945 /* LOCK_EX|LOCK_NB - get a non-blocking exclusive lock */
5946 case LOCK_EX|LOCK_NB:
/openbsd-current/usr.bin/ssh/
H A Dsshkey-xmss.c477 while (flock(lockfd, LOCK_EX|LOCK_NB) == -1) {
/openbsd-current/gnu/usr.bin/perl/cpan/CPAN/lib/CPAN/
H A DFTP.pm39 my $locktype = $fh ? LOCK_EX : LOCK_SH;
/openbsd-current/sys/kern/
H A Dkern_descrip.c1322 if (how & LOCK_EX)
/openbsd-current/gnu/usr.bin/perl/os2/
H A Dos2.c5168 if (o & (LOCK_UN | LOCK_SH | LOCK_EX)) {
5196 if (o & (LOCK_SH | LOCK_EX)) {
/openbsd-current/gnu/usr.bin/perl/dist/Storable/
H A DStorable.pm89 sub LOCK_EX () { 2 } subroutine
274 flock(FILE, LOCK_EX) ||
/openbsd-current/usr.sbin/ldapd/
H A Dbtree.c668 if (flock(bt->fd, LOCK_EX | LOCK_NB) != 0) {
/openbsd-current/gnu/usr.bin/perl/cpan/DB_File/
H A DDB_File.pm1949 flock (DB_FH, LOCK_EX) || die "flock: $!";
/openbsd-current/gnu/usr.bin/perl/cpan/CPAN/lib/
H A DCPAN.pm870 while (!CPAN::_flock($fh, LOCK_EX|LOCK_NB)) {

Completed in 201 milliseconds

12