/src/lib/libc/stdlib/ |
posix_openpt.c | 42 posix_openpt(int oflag) 45 return open("/dev/ptmx", oflag);
|
/src/lib/libm/softfloat/ |
feupdateenv.c | 47 fexcept_t oflag; local in function:__weak_alias 49 fegetexceptflag(&oflag, FE_ALL_EXCEPT); 55 feraiseexcept(oflag);
|
/src/usr.sbin/lpr/lpd/ |
ttcompat.c | 65 tcflag_t oflag = tp->c_oflag; local in function:sttygetoflags 81 if (!ISSET(oflag, OPOST)) 101 tcflag_t oflag = tp->c_oflag; local in function:sttysetoflags 145 SET(oflag, OPOST); 147 CLR(oflag, OPOST); 152 SET(oflag, OPOST); 156 tp->c_oflag = oflag; 165 tcflag_t oflag = tp->c_oflag; local in function:sttyclearflags 176 CLR(oflag, ONLCR); 179 CLR(oflag, OXTABS) 194 tcflag_t oflag = tp->c_oflag; local in function:sttysetflags 222 tcflag_t oflag = tp->c_oflag; local in function:sttyclearlflags 257 tcflag_t oflag = tp->c_oflag; local in function:sttysetlflags [all...] |
/src/tests/lib/libpthread/ |
t_call_once.c | 50 static once_flag oflag = ONCE_FLAG_INIT; variable in typeref:typename:once_flag 63 call_once(&oflag, called_once);
|
/src/usr.bin/finger/ |
extern.h | 39 extern int oflag;
|
finger.c | 96 int entries, gflag, lflag, mflag, oflag, sflag, eightflag, pplan; variable in typeref:typename:int 118 oflag = 1; /* default to old "office" behavior */ 135 oflag = 0; /* remote host info */ 138 oflag = 1; /* office info */
|
sprint.c | 97 (oflag) ? "Office Office Phone" : "Where"); 140 if (oflag) {
|
/src/lib/libc/nls/ |
catopen.c | 70 catopen(const char *name, int oflag) 73 return catopen_l(name, oflag, _current_locale()); 77 catopen_l(const char *name, int oflag, locale_t loc) 100 if (oflag == NL_CAT_LOCALE) {
|
/src/sys/sys/ |
spawn.h | 59 int oflag; member in struct:posix_spawn_file_actions_entry::__anona75f4e88010a::__anona75f4e880208 60 #define fae_oflag fae_data.open.oflag
|
/src/libexec/getty/ |
subr.c | 188 tcflag_t iflag, oflag, cflag, lflag; local in function:setflags 244 oflag = omode.c_oflag; 289 SET(oflag, ONLCR|OPOST); 292 CLR(oflag, ONLCR); 296 SET(oflag, OXTABS|OPOST); 298 CLR(oflag, OXTABS); 307 CLR(oflag, OPOST); 357 tmode.c_oflag = oflag; 369 tcflag_t iflag, oflag, cflag, lflag; local in function:compatflags 372 oflag = OPOST|ONLCR|OXTABS [all...] |
/src/sys/compat/common/ |
tty_43.c | 289 tcflag_t oflag = tp->t_oflag; local in function:ttcompatgetflags 297 if (ISSET(iflag, ICRNL) || ISSET(oflag, ONLCR)) 321 if (!ISSET(oflag, OPOST)) 331 if (ISSET(oflag, OXTABS)) 357 tcflag_t oflag = t->c_oflag; local in function:ttcompatsetflags 371 SET(oflag, ONLCR); 374 CLR(oflag, ONLCR); 377 SET(oflag, OXTABS); 379 CLR(oflag, OXTABS); 422 SET(oflag, OPOST) 443 tcflag_t oflag = t->c_oflag; local in function:ttcompatsetlflags [all...] |
/src/sbin/nvmectl/ |
perftest.c | 95 bool nflag, oflag, sflag, tflag; local in function:perftest 98 nflag = oflag = sflag = tflag = false; 133 oflag = true; 176 if (!nflag || !oflag || !sflag || !tflag || optind >= argc)
|
/src/bin/dd/ |
extern.h | 77 extern u_int oflag;
|
dd.c | 85 #define oflag O_CREAT macro 88 u_int oflag = O_CREAT; /* open(2) flags for output file */ variable in typeref:typename:u_int 208 if ((oflag & O_TRUNC) && (ddflags & C_SEEK)) { 209 errx(EXIT_FAILURE, "oflag=trunc is incompatible " 213 if ((oflag & O_TRUNC) && (ddflags & C_NOTRUNC)) { 214 errx(EXIT_FAILURE, "oflag=trunc is incompatible " 220 (oflag | (ddflags & (C_SEEK | C_NOTRUNC) ? 0 : O_TRUNC))
|
/src/lib/librt/ |
shm.c | 122 shm_open(const char *name, int oflag, mode_t mode) 129 return open(path, oflag | O_CLOEXEC | O_NOFOLLOW, mode);
|
sem.c | 268 sem_open(const char *name, int oflag, ...) 280 if (oflag & O_CREAT) { 281 va_start(ap, oflag); 288 * We can be lazy and let the kernel handle the oflag, 291 if (_ksem_open(name, oflag, mode, value, &semid) == -1)
|
/src/sys/compat/linux/common/ |
linux_mqueue.c | 80 syscallarg(int) oflag; 86 int error, oflag; local in function:linux_sys_mq_open 88 oflag = linux_to_bsd_ioflags(SCARG(uap, oflag)); 90 if ((oflag & O_CREAT) != 0 && SCARG(uap, attr) != NULL) { 98 return mq_handle_open(l, SCARG(uap, name), oflag,
|
/src/usr.bin/grep/ |
util.c | 345 if ((color != NULL && !oflag) || qflag || lflag) 354 if ((color != NULL && !oflag) || qflag || lflag) 473 if ((oflag || color) && m > 0) { 475 if (!oflag) 488 if (oflag) 491 if (!oflag) {
|
grep.h | 118 bflag, cflag, hflag, iflag, lflag, mflag, nflag, oflag,
|
/src/lib/librmt/ |
rmtlib.c | 249 _rmt_open(const char *path, int oflag, int mode) 380 (void)snprintf(buffer, sizeof(buffer), "O%s\n%d\n", device, oflag); 627 rmtopen(const char *path, int oflag, ...) 632 va_start(ap, oflag); 640 fd = _rmt_open(path, oflag, (int)mode); 644 return open(path, oflag, mode);
|
/src/lib/libc/gen/ |
posix_spawn_fileactions.c | 105 int fildes, const char * __restrict path, int oflag, mode_t mode) 125 fa->fae[i].fae_oflag = oflag;
|
/src/usr.bin/ktrace/ |
ktrace.c | 274 int oflag = fcntl(fd, F_GETFL, 0); local in function:fclear 276 if (oflag == -1) 278 if (fcntl(fd, F_SETFL, oflag & ~flag) == -1)
|
/src/usr.bin/mkdep/ |
mkdep.c | 214 int aflag, dflag, iflag, oflag, qflag; local in function:main 236 oflag = 0; 267 oflag = 1; 449 if (oflag) 456 if (oflag && opt != NULL) {
|
/src/sbin/swapctl/ |
swapctl.c | 143 static int oflag; /* only autoset dump device */ variable in typeref:typename:int 241 oflag = 1; 303 if (fflag && oflag) 465 if (fflag || oflag) { 467 if (oflag)
|
/src/sys/kern/ |
sys_mqueue.c | 414 int oflag, mqueue_t **mqret) 462 mq->mq_attrib.mq_flags = (O_MASK & oflag); 478 mq_handle_open(struct lwp *l, const char *u_name, int oflag, mode_t mode, 510 fp->f_flag = FFLAGS(oflag) & (FREAD | FWRITE); 513 if (oflag & O_CREAT) { 515 error = mqueue_create(l, name, attr, mode, oflag, &mq_new); 530 if (oflag & O_EXCL) { 548 if ((oflag & O_CREAT) == 0) { 597 syscallarg(int) oflag; 604 if ((SCARG(uap, oflag) & O_EXEC) != 0 [all...] |