Searched refs:oflag (Results 1 - 25 of 51) sorted by relevance

123

/freebsd-9.3-release/usr.sbin/smbmsg/
H A Dsmbmsg.c57 static int oflag = -1; /* output data */ variable
144 if (iflag == -1 && oflag == 0)
147 else if (iflag == 0 && oflag == -1)
150 else if (iflag == 1 && oflag == -1) {
157 } else if (iflag == -1 && oflag == 1) {
164 if (iflag == 1 && oflag == -1) {
172 } else if (iflag == -1 && oflag == 1) {
176 } else if (wflag && iflag == 2 && oflag == -1) {
184 } else if (wflag && iflag == -1 && oflag == 2) {
188 } else if (wflag && iflag == 2 && oflag
[all...]
/freebsd-9.3-release/usr.bin/finger/
H A Dextern.h44 extern int oflag;
H A Dfinger.c90 int entries, gflag, kflag, lflag, mflag, pplan, sflag, oflag; variable
135 oflag = 0; /* remote host info */
138 oflag = 1; /* office info */
182 oflag = 1; /* default to old "office" behavior */
H A Dsprint.c90 oflag ? "Office Phone" : "Where");
146 if (oflag) {
/freebsd-9.3-release/usr.bin/cmp/
H A Dcmp.c67 int ch, fd1, fd2, oflag, special; local
70 oflag = O_RDONLY;
74 oflag |= O_NOFOLLOW;
110 else if ((fd1 = open(file1, oflag, 0)) < 0 && errno != EMLINK) {
124 else if ((fd2 = open(file2, oflag, 0)) < 0 && errno != EMLINK) {
/freebsd-9.3-release/sys/kern/
H A Dtty_compat.c278 tcflag_t oflag = tp->t_termios.c_oflag; local
284 if (iflag&ICRNL || oflag&ONLCR)
309 if (!(flags&RAW) && !(oflag&OPOST) && (cflag&(CSIZE|PARENB)) == CS8)
315 if (oflag&TAB3)
338 tcflag_t oflag = t->c_oflag; local
350 oflag |= TAB3;
352 oflag &= ~TAB3;
359 oflag |= ONLCR;
362 oflag &= ~ONLCR;
379 oflag
415 tcflag_t oflag = t->c_oflag; local
[all...]
/freebsd-9.3-release/sys/sys/
H A D_semaphore.h46 int ksem_open(semid_t *idp, const char *name, int oflag, mode_t mode,
/freebsd-9.3-release/sbin/nvmecontrol/
H A Dperftest.c85 bool nflag, oflag, sflag, tflag; local
88 nflag = oflag = sflag = tflag = false;
123 oflag = true;
166 if (!nflag || !oflag || !sflag || !tflag || optind >= argc)
/freebsd-9.3-release/sys/contrib/octeon-sdk/
H A Dcvmx-shmem.h109 struct cvmx_shmem_dscptr *cvmx_shmem_named_block_open(char *name, uint32_t size, int oflag);
H A Dcvmx-shmem.c300 struct cvmx_shmem_dscptr *cvmx_shmem_named_block_open(char *name, uint32_t size, int oflag) argument
324 if ((shmem_nblk == NULL) && (oflag & CVMX_SHMEM_O_CREAT))
419 if (oflag & CVMX_SHMEM_O_WRONLY)
421 if (oflag & CVMX_SHMEM_O_RDWR)
/freebsd-9.3-release/usr.bin/uudecode/
H A Duudecode.c70 static int base64, cflag, iflag, oflag, pflag, rflag, sflag; variable
89 if (oflag || rflag)
102 oflag = 1; /* output to the specified file */
107 if (oflag)
112 if (cflag || oflag)
117 if (oflag)
252 if (!oflag)
277 if (oflag) {
/freebsd-9.3-release/libexec/getty/
H A Dsubr.c257 tcflag_t iflag, oflag, cflag, lflag; local
291 oflag = omode.c_oflag;
341 SET(oflag, ONLCR|OPOST);
344 CLR(oflag, ONLCR);
348 SET(oflag, OXTABS|OPOST);
350 CLR(oflag, OXTABS);
359 CLR(oflag, OPOST);
409 tmode.c_oflag = oflag;
/freebsd-9.3-release/sbin/shutdown/
H A Dshutdown.c91 static int dohalt, dopower, doreboot, killflg, mbuflen, oflag; variable
158 oflag = 1;
179 if (oflag && !(dohalt || dopower || doreboot))
182 if (nosync != NULL && !oflag)
377 if (!oflag) {
/freebsd-9.3-release/usr.bin/grep/
H A Dutil.c327 if ((color == NULL && !oflag) ||
339 if (!wflag && ((color == NULL && !oflag) || qflag || lflag))
466 if ((oflag || color) && m > 0) {
468 if (!oflag)
480 if (oflag)
483 if (!oflag) {
H A Dgrep.h113 bflag, cflag, hflag, iflag, lflag, mflag, nflag, oflag,
/freebsd-9.3-release/usr.bin/xlint/xlint/
H A Dxlint.c107 static int iflag, oflag, Cflag, sflag, tflag, Fflag, dflag, Bflag; variable
112 /* filename for oflag */
448 if (Cflag || oflag || iflag)
478 if (Cflag || oflag)
480 oflag = 1;
558 if (!oflag) {
569 if (oflag)
614 if (oflag) {
617 oflag = 0;
/freebsd-9.3-release/lib/libc/gen/
H A Dposix_spawn.c69 int oflag; member in struct:__posix_spawn_file_actions_entry::__anon5038::__anon5039
70 #define fae_oflag fae_data.open.oflag
285 int fildes, const char * __restrict path, int oflag, mode_t mode)
307 fae->fae_oflag = oflag;
284 posix_spawn_file_actions_addopen(posix_spawn_file_actions_t * __restrict fa, int fildes, const char * __restrict path, int oflag, mode_t mode) argument
H A Dsem.c220 _libc_sem_open_compat(const char *name, int oflag, ...) argument
231 if ((oflag & O_CREAT) != 0) {
234 va_start(ap, oflag);
240 * we can be lazy and let the kernel handle the "oflag",
243 if (ksem_open(&semid, name, oflag, mode, value) == -1)
/freebsd-9.3-release/contrib/tcsh/
H A Dsh.misc.c608 xopen(const char *path, int oflag, ...) argument
612 if ((oflag & O_CREAT) == 0) {
613 while ((res = open(path, oflag)) == -1 && errno == EINTR)
619 va_start(ap, oflag);
625 while ((res = open(path, oflag, mode)) == -1 && errno == EINTR)
/freebsd-9.3-release/usr.sbin/iostat/
H A Diostat.c139 int dflag = 0, Iflag = 0, Cflag = 0, Tflag = 0, oflag = 0, Kflag = 0; variable
227 oflag++;
298 else if (oflag > 0) {
686 if (oflag > 0)
704 if (oflag > 0) {
857 } else if (oflag > 0) {
/freebsd-9.3-release/lib/libz/
H A Dgzlib.c101 int oflag; local
223 oflag =
246 fd == -2 ? _wopen(path, oflag, 0666) :
248 open((const char *)path, oflag, 0666));
/freebsd-9.3-release/lib/librt/
H A Dmq.c83 __mq_open(const char *name, int oflag, mode_t mode, argument
93 mq->oshandle = __sys_kmq_open(name, oflag, mode, attr);
/freebsd-9.3-release/usr.bin/xargs/
H A Dxargs.c87 static int count, insingle, indouble, oflag, pflag, tflag, Rflag, rval, zflag; variable
158 oflag = 1;
552 if (oflag) {
/freebsd-9.3-release/usr.bin/man/
H A Dman.sh499 o) oflag=oflag ;;
610 if [ -n "$oflag" ]; then
/freebsd-9.3-release/sbin/sysctl/
H A Dsysctl.c62 static int Nflag, nflag, oflag, qflag, xflag, warncount; variable
95 aflag = oflag = 1;
122 oflag = 1;
681 if (!oflag && !xflag) {

Completed in 138 milliseconds

123