Searched refs:omode (Results 1 - 12 of 12) sorted by relevance

/osnet-11/usr/src/cmd/sendmail/libsmutil/
H A Dsafefile.c672 ** omode -- the open-style mode flags.
681 safeopen(fn, omode, cmode, sff)
683 int omode;
696 sm_dprintf("safeopen: fn=%s, omode=%x, cmode=%x, sff=%lx\n",
697 fn, omode, cmode, sff);
699 if (bitset(O_CREAT, omode))
701 omode &= ~O_CREAT;
702 switch (omode & O_ACCMODE)
732 omode |= O_CREAT | (bitset(SFF_NOTEXCL, sff) ? 0 : O_EXCL);
733 else if (bitset(SFF_CREAT, sff) && bitset(O_EXCL, omode))
[all...]
/osnet-11/usr/src/cmd/sendmail/libsmdb/
H A Dsmdb.c127 int omode = fcntl(fd, F_GETFL, NULL);
130 syslog(LOG_ERR, "cannot lockf(%s%s, fd=%d, type=%o, omode=%o, euid=%d)",
131 filename, ext, fd, type, omode, euid);
147 int omode = fcntl(fd, F_GETFL, NULL);
150 syslog(LOG_ERR, "cannot flock(%s%s, fd=%d, type=%o, omode=%o, euid=%d)",
151 filename, ext, fd, type, omode, euid);
/osnet-11/usr/src/cmd/sendmail/src/
H A Dbf.c71 # define OPEN(fn, omode, cmode, sff) open(fn, omode, cmode)
73 # define OPEN(fn, omode, cmode, sff) safeopen(fn, omode, cmode, sff)
H A Dmap.c1701 int omode = bitset(map->map_mflags, MF_WRITABLE) ? O_RDWR local
1709 if (map->map_class->map_open(map, omode))
1713 if ((omode & O_ACCMODE) == O_RDWR)
2002 int omode; variable
2033 omode = mode;
2070 omode |= O_CREAT|O_EXCL;
2076 omode |= O_TRUNC|O_EXLOCK;
2078 omode |= O_SHLOCK;
2086 fd = open(buf, omode, DBMMODE);
2121 omode |
2350 int omode = bitset(map->map_mflags, MF_WRITABLE) ? O_RDWR local
[all...]
H A Dconf.c3593 int omode = fcntl(fd, F_GETFL, 0); local
3597 syserr("cannot lockf(%s%s, fd=%d, type=%o, omode=%o, euid=%d)",
3598 filename, ext, fd, type, omode, euid);
3623 int omode = fcntl(fd, F_GETFL, 0); local
3627 syserr("cannot flock(%s%s, fd=%d, type=%o, omode=%o, euid=%d)",
3628 filename, ext, fd, type, omode, euid);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dperlio.h358 extern int PerlIO_binmode(pTHX_ PerlIO *f, int iotype, int omode,
H A Dperlio.c260 int omode = fcntl(fd, F_GETFL);
262 omode = djgpp_get_stream_mode(f);
264 PerlIO_intmode2str(omode,mode,NULL);
1960 const char *omode = mode;
2010 f, PerlIOBase(f)->tab->name, (omode) ? omode : "(Null)",
/osnet-11/usr/src/lib/libc/i386/sys/
H A Dptrace.c482 int omode; local
490 omode = (cp->asfd > 0)? O_RDWR : (O_RDWR|O_EXCL);
492 if ((fd = open(procname, omode, 0)) < 0 ||
/osnet-11/usr/src/lib/libc/sparc/sys/
H A Dptrace.c490 int omode; local
498 omode = (cp->asfd > 0)? O_RDWR : (O_RDWR|O_EXCL);
500 if ((fd = open(procname, omode, 0)) < 0 ||
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Text/
H A DBalanced.pm285 my $omode = defined $options{fail} ? $options{fail} : '';
298 my @match = _match_tagged($textref, $pre, $ldel, $rdel, $omode, $bad, $ignore);
308 my ($textref, $pre, $ldel, $rdel, $omode, $bad, $ignore) = @_;
374 goto short if ($omode eq 'PARA' || $omode eq 'MAX');
384 goto short if $omode eq 'PARA' || $omode eq 'MAX';
395 goto matched if $omode eq 'MAX';
396 goto failed unless $omode eq 'PARA';
984 my $omode
[all...]
/osnet-11/usr/src/lib/libsuri/common/
H A Dsuri.c326 mode_t mkmode, omode; local
342 omode = (mode_t)prop;
369 omode)) == -1) {
/osnet-11/usr/src/lib/libproc/common/
H A DPcontrol.c518 int fd, omode; local
571 omode = (flags & PGRAB_RDONLY) ? O_RDONLY : O_RDWR;
573 if (((fd = open(procname, omode | O_EXCL)) < 0 &&
574 (fd = ((flags & PGRAB_FORCE)? open(procname, omode) : -1)) < 0) ||

Completed in 99 milliseconds