/dragonfly/usr.bin/uudecode/ |
H A D | uudecode.c | 59 static int base64, cflag, iflag, oflag, pflag, rflag, sflag; variable 78 if (oflag || rflag) in main() 91 oflag = 1; /* output to the specified file */ in main() 96 if (oflag) in main() 101 if (cflag || oflag) in main() 106 if (oflag) in main() 247 if (!oflag) in decode2() 272 if (oflag) { in decode2()
|
/dragonfly/usr.bin/cmp/ |
H A D | cmp.c | 70 int ch, fd1, fd2, oflag; in main() local 74 oflag = O_RDONLY; in main() 78 oflag |= O_NOFOLLOW; in main() 112 } else if ((fd1 = open(file1, oflag, 0)) < 0 && errno != EMLINK) { in main() 125 } else if ((fd2 = open(file2, oflag, 0)) < 0 && errno != EMLINK) { in main()
|
/dragonfly/usr.bin/dfregress/ |
H A D | main.c | 71 int oflag = 0; in main() local 80 oflag = 1; in main() 131 if (!oflag) { in main()
|
/dragonfly/lib/libthread_xu/thread/ |
H A D | thr_sem.c | 510 _sem_open(const char *name, int oflag, ...) in _sem_open() argument 532 if (oflag & ~(O_CREAT|O_EXCL)) { in _sem_open() 537 oflag |= O_RDWR; in _sem_open() 538 oflag |= O_CLOEXEC; in _sem_open() 558 if ((oflag & O_EXCL) == O_EXCL) { in _sem_open() 584 } else if ((oflag & O_CREAT) && errno == ENOENT) { in _sem_open() 586 va_start(ap, oflag); in _sem_open() 674 if (errno == EEXIST && (oflag & O_EXCL) == 0) { in _sem_open()
|
/dragonfly/libexec/getty/ |
H A D | subr.c | 234 tcflag_t iflag, oflag, cflag, lflag; in set_flags() local 268 oflag = omode.c_oflag; in set_flags() 313 SET(oflag, ONLCR|OPOST); in set_flags() 316 CLR(oflag, ONLCR); in set_flags() 320 SET(oflag, OXTABS|OPOST); in set_flags() 322 CLR(oflag, OXTABS); in set_flags() 331 CLR(oflag, OPOST); in set_flags() 381 tmode.c_oflag = oflag; in set_flags()
|
/dragonfly/sbin/shutdown/ |
H A D | shutdown.c | 83 static int dohalt, dopower, doreboot, killflg, mbuflen, oflag; variable 150 oflag = 1; in main() 166 oflag = 1; in main() 175 if (oflag && !(dohalt || dopower || doreboot)) in main() 178 if (nosync != NULL && !oflag) in main() 376 if (!oflag) { in die_you_gravy_sucking_pig_dog()
|
/dragonfly/games/morse/ |
H A D | morse.c | 288 static int lflag, oflag, pflag, rflag, sflag, eflag; variable 332 oflag = 1; in main() 395 if (oflag) in main() 404 if (oflag && strcmp(snddev, "-") == 0) in main() 414 if (!oflag && ioctl(spkr, AIOSFMT, ¶m) != 0) in main() 727 if (!oflag) in play()
|
/dragonfly/usr.bin/finger/ |
H A D | finger.c | 80 int entries, gflag, lflag, mflag, pplan, sflag, oflag, eightflag; variable 124 oflag = 0; /* remote host info */ in option() 127 oflag = 1; /* office info */ in option() 165 oflag = 1; /* default to old "office" behavior */ in main()
|
H A D | sprint.c | 83 oflag ? "Office Phone" : "Where"); in sflag_print() 139 if (oflag) { in sflag_print()
|
H A D | extern.h | 45 extern int oflag;
|
/dragonfly/usr.sbin/iostat/ |
H A D | iostat.c | 121 int dflag = 0, Dflag=0, Iflag = 0, Cflag = 0, Tflag = 0, oflag = 0, Kflag = 0; variable 202 oflag++; in main() 243 if (oflag > 0) { in main() 547 if (oflag > 0) in phdr() 573 if (oflag > 0) { in phdr() 660 if (oflag > 0) { in devstats()
|
/dragonfly/lib/libc/stdlib/ |
H A D | ptsname.c | 120 posix_openpt(int oflag) in posix_openpt() argument 122 return _open("/dev/ptmx", oflag); in posix_openpt()
|
/dragonfly/sys/kern/ |
H A D | sys_mqueue.c | 428 int mqd, error, oflag; in sys_mq_open() local 431 oflag = uap->oflag; in sys_mq_open() 432 if ((oflag & O_ACCMODE) == (O_WRONLY | O_RDWR)) { in sys_mq_open() 446 if (oflag & O_CREAT) { in sys_mq_open() 506 mq_new->mq_attrib.mq_flags = oflag; in sys_mq_open() 524 fp->f_flag = FFLAGS(oflag) & (FREAD | FWRITE); in sys_mq_open() 541 if ((oflag & O_CREAT) && (oflag & O_EXCL)) { in sys_mq_open() 565 if ((oflag & O_CREAT) == 0) { in sys_mq_open()
|
H A D | tty.c | 747 tcflag_t oflag; in ttyoutput() local 751 oflag = tp->t_oflag; in ttyoutput() 752 if (!ISSET(oflag, OPOST)) { in ttyoutput() 774 ISSET(oflag, OXTABS) && !ISSET(tp->t_lflag, EXTPROC)) { in ttyoutput() 785 if (c == CEOT && ISSET(oflag, ONOEOT)) { in ttyoutput()
|
/dragonfly/contrib/tcsh-6/ |
H A D | sh.misc.c | 658 xopen(const char *path, int oflag, ...) in xopen() argument 662 if ((oflag & O_CREAT) == 0) { in xopen() 663 while ((res = open(path, oflag)) == -1 && errno == EINTR) in xopen() 670 va_start(ap, oflag); in xopen() 676 while ((res = open(path, oflag, mode)) == -1 && errno == EINTR) in xopen()
|
/dragonfly/lib/libc/gen/ |
H A D | posix_spawn.c | 67 int oflag; member 68 #define fae_oflag fae_data.open.oflag 285 int oflag, mode_t mode) in posix_spawn_file_actions_addopen() argument 307 fae->fae_oflag = oflag; in posix_spawn_file_actions_addopen()
|
H A D | fts.c | 615 int cderrno, descend, oflag, saved_errno, nostat, doadjust; in fts_build() local 629 oflag = DTF_NODUP | DTF_REWIND; in fts_build() 631 oflag = DTF_HIDEW | DTF_NODUP | DTF_REWIND; in fts_build() 635 if ((dirp = __opendir2(cur->fts_accpath, oflag)) == NULL) { in fts_build()
|
/dragonfly/lib/librt/ |
H A D | mq.c | 54 __mq_open(const char *name, int oflag, mode_t mode, in __mq_open() argument 57 return (__sys_mq_open(name, oflag, mode, attr)); in __mq_open()
|
/dragonfly/contrib/zlib-1.2/ |
H A D | gzlib.c | 98 int oflag; local 220 oflag = 243 fd == -2 ? _wopen(path, oflag, 0666) : 245 open((const char *)path, oflag, 0666));
|
/dragonfly/sbin/sysctl/ |
H A D | sysctl.c | 55 static int aflag, bflag, dflag, eflag, Nflag, nflag, oflag, xflag; variable 88 aflag = oflag = 1; in main() 112 oflag = 1; in main() 927 if (!oflag && !xflag) { in show_var() 958 if (!oflag && !xflag) { in show_var()
|
/dragonfly/crypto/libressl/apps/nc/ |
H A D | netcat.c | 112 const char *oflag; /* OCSP stapling file */ variable 333 oflag = optarg; in main() 387 if (oflag && unveil(oflag, "r") == -1) in main() 388 err(1, "unveil %s", oflag); in main() 460 if (oflag && !Cflag) in main() 543 if (oflag && tls_config_set_ocsp_staple_file(tls_cfg, oflag) == -1) in main()
|
/dragonfly/usr.bin/man/ |
H A D | man.sh | 559 o) oflag=oflag ;; 671 if [ -n "$oflag" ]; then
|
/dragonfly/usr.bin/xargs/ |
H A D | xargs.c | 89 static int count, insingle, indouble, oflag, pflag, tflag, Rflag, rval, zflag; variable 185 oflag = 1; in main() 615 if (oflag) { in run()
|
/dragonfly/contrib/byacc/ |
H A D | main.c | 40 static char oflag; variable 162 if (oflag) in done() 623 oflag = 1; in create_file_names()
|
/dragonfly/lib/libfetch/ |
H A D | ftp.c | 1105 int oflag; in ftp_request() local 1144 oflag = O_WRONLY; in ftp_request() 1146 oflag = O_RDONLY; in ftp_request() 1149 return (ftp_transfer(conn, op, url->doc, oflag, url->offset, flags)); in ftp_request()
|