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

123

/freebsd-11-stable/usr.sbin/smbmsg/
H A Dsmbmsg.c59 static int oflag = -1; /* output data */ variable
148 if (iflag == -1 && oflag == 0)
151 else if (iflag == 0 && oflag == -1)
154 else if (iflag == 1 && oflag == -1) {
161 } else if (iflag == -1 && oflag == 1) {
168 if (iflag == 1 && oflag == -1) {
175 } else if (iflag == -1 && oflag == 1) {
179 } else if (wflag && iflag == 2 && oflag == -1) {
186 } else if (wflag && iflag == -1 && oflag == 2) {
190 } else if (wflag && iflag == 2 && oflag
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Host/
H A DPseudoTerminal.h124 /// Opens the first available pseudo terminal with \a oflag as the
135 /// \param[in] oflag
136 /// Flags to use when calling \c posix_openpt(\a oflag).
150 bool OpenFirstAvailableMaster(int oflag, char *error_str, size_t error_len);
165 /// \param[in] oflag
166 /// Flags to use when calling \c open(\a oflag).
180 bool OpenSlave(int oflag, char *error_str, size_t error_len);
/freebsd-11-stable/usr.bin/finger/
H A Dextern.h44 extern int oflag;
H A Dfinger.c91 int entries, gflag, lflag, pplan, oflag; variable
136 oflag = 0; /* remote host info */
139 oflag = 1; /* office info */
183 oflag = 1; /* default to old "office" behavior */
H A Dsprint.c90 oflag ? "Office Phone" : "Where");
146 if (oflag) {
/freebsd-11-stable/usr.bin/cmp/
H A Dcmp.c76 int ch, fd1, fd2, oflag, special; local
79 oflag = O_RDONLY;
83 oflag |= O_NOFOLLOW;
119 else if ((fd1 = open(file1, oflag, 0)) < 0 && errno != EMLINK) {
133 else if ((fd2 = open(file2, oflag, 0)) < 0 && errno != EMLINK) {
/freebsd-11-stable/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-11-stable/sys/sys/
H A D_semaphore.h46 int ksem_open(semid_t *idp, const char *name, int oflag, mode_t mode,
/freebsd-11-stable/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-11-stable/sbin/nvmecontrol/
H A Dperftest.c87 bool nflag, oflag, sflag, tflag; local
90 nflag = oflag = sflag = tflag = false;
125 oflag = true;
168 if (!nflag || !oflag || !sflag || !tflag || optind >= argc)
/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/common/
H A DPseudoTerminal.cpp77 bool PseudoTerminal::OpenFirstAvailableMaster(int oflag, char *error_str, argument
84 m_master_fd = ::posix_openpt(oflag);
124 bool PseudoTerminal::OpenSlave(int oflag, char *error_str, size_t error_len) { argument
136 m_slave_fd = llvm::sys::RetryAfterSignal(-1, ::open, slave_name, oflag);
/freebsd-11-stable/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-11-stable/libexec/getty/
H A Dsubr.c240 tcflag_t iflag, oflag, cflag, lflag; local
274 oflag = omode.c_oflag;
324 SET(oflag, ONLCR|OPOST);
327 CLR(oflag, ONLCR);
331 SET(oflag, OXTABS|OPOST);
333 CLR(oflag, OXTABS);
342 CLR(oflag, OPOST);
392 tmode.c_oflag = oflag;
/freebsd-11-stable/usr.bin/xlint/xlint/
H A Dxlint.c107 static int iflag, oflag, Cflag, sflag, tflag, Fflag, dflag, Bflag, Sflag; variable
112 /* filename for oflag */
457 if (Cflag || oflag || iflag)
488 if (Cflag || oflag)
490 oflag = 1;
568 if (!oflag) {
579 if (oflag)
624 if (oflag) {
627 oflag = 0;
/freebsd-11-stable/usr.bin/grep/
H A Dutil.c599 if ((color == NULL && !oflag) || qflag || lflag ||
619 if (!wflag && ((color == NULL && !oflag) || qflag || lflag || Lflag))
746 if (oflag && matchall)
752 if ((oflag || color) && matchidx > 0) {
754 if (!oflag && pc->printed == 0)
765 if (oflag) {
778 if (oflag)
781 if (!oflag) {
H A Dgrep.h137 bflag, cflag, hflag, iflag, lflag, mflag, nflag, oflag,
/freebsd-11-stable/lib/libc/gen/
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)
H A Dposix_spawn.c70 int oflag; member in struct:__posix_spawn_file_actions_entry::__anon2::__anon3
71 #define fae_oflag fae_data.open.oflag
401 int fildes, const char * __restrict path, int oflag, mode_t mode)
423 fae->fae_oflag = oflag;
400 posix_spawn_file_actions_addopen(posix_spawn_file_actions_t * __restrict fa, int fildes, const char * __restrict path, int oflag, mode_t mode) argument
/freebsd-11-stable/sbin/shutdown/
H A Dshutdown.c92 static int dohalt, dopower, doreboot, killflg, mbuflen, oflag; variable
159 oflag = 1;
180 if (oflag && !(dohalt || dopower || doreboot))
183 if (nosync != NULL && !oflag)
378 if (!oflag) {
/freebsd-11-stable/contrib/tcsh/
H A Dsh.misc.c639 xopen(const char *path, int oflag, ...) argument
643 if ((oflag & O_CREAT) == 0) {
644 while ((res = open(path, oflag)) == -1 && errno == EINTR)
651 va_start(ap, oflag);
657 while ((res = open(path, oflag, mode)) == -1 && errno == EINTR)
/freebsd-11-stable/usr.sbin/iostat/
H A Diostat.c146 static int dflag = 0, Iflag = 0, Cflag = 0, Tflag = 0, oflag = 0, Kflag = 0; variable
237 oflag++;
308 else if (oflag > 0) {
745 if (oflag > 0)
763 if (oflag > 0) {
929 } else if (oflag > 0) {
/freebsd-11-stable/sys/contrib/zlib/
H A Dgzlib.c101 int oflag; local
223 oflag =
246 fd == -2 ? _wopen(path, oflag, 0666) :
248 open((const char *)path, oflag, 0666));
/freebsd-11-stable/usr.bin/xargs/
H A Dxargs.c90 static int count, insingle, indouble, oflag, pflag, tflag, Rflag, rval, zflag; variable
166 oflag = 1;
582 if (oflag) {
/freebsd-11-stable/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);

Completed in 189 milliseconds

123