/titanic_50/usr/src/test/libc-tests/cfg/symbols/ |
H A D | fcntl_h.cfg | 17 # Definitions found in fcntl.h 23 type | mode_t | fcntl.h | ALL 24 type | off_t | fcntl.h | ALL 25 type | pid_t | fcntl.h | ALL 26 type | struct flock | fcntl.h | ALL 31 value | O_ACCMODE | int | fcntl.h | POSIX+ SUS+ 32 value | O_APPEND | int | fcntl.h | POSIX+ SUS+ 33 value | O_CLOEXEC | int | fcntl.h | POSIX+ SUS+ 34 value | O_CREAT | int | fcntl.h | POSIX+ SUS+ 35 value | O_DSYNC | int | fcntl.h | XPG3+ POSIX-1993+ [all …]
|
/titanic_50/usr/src/lib/libast/common/comp/ |
H A D | fcntl.c | 30 #ifndef fcntl 32 NoN(fcntl) 47 #undef fcntl 48 extern int fcntl(int, int, ...); 87 op = fcntl(fd, op, va_arg(ap, int));
|
/titanic_50/usr/src/lib/libc/port/sys/ |
H A D | lockf.c | 61 rv = fcntl(fildes, F_SETLK, &l); in __lockf() 65 rv = fcntl(fildes, F_SETLKW, &l); in __lockf() 69 rv = fcntl(fildes, F_SETLK, &l); in __lockf() 73 rv = fcntl(fildes, F_GETLK, &l); in __lockf()
|
/titanic_50/usr/src/lib/libc/port/gen/ |
H A D | dup.c | 41 return (fcntl(fildes, F_DUPFD, 0)); in dup() 48 return (fcntl(fildes, F_DUP2FD, fildes2)); in dup2() 71 return (fcntl(fildes, (flags == 0) ? F_DUP2FD : F_DUP2FD_CLOEXEC, in dup3()
|
H A D | flock.c | 45 rv = fcntl(fildes, F_FLOCK, &l); in flock() 52 rv = fcntl(fildes, op, &l); in flock()
|
H A D | lckpwdf.c | 81 if (fcntl(fildes, F_SETLK, &flock) != -1) { in lckpwdf() 115 (void) fcntl(fildes, F_SETLK, &flock); in ulckpwdf()
|
H A D | posix_fallocate.c | 70 if (fcntl(fd, F_ALLOCSP, &lck) == -1) { in posix_fallocate() 96 if (fcntl(fd, F_ALLOCSP64, &lck) == -1) { in posix_fallocate64()
|
/titanic_50/usr/src/lib/libast/common/disc/ |
H A D | sfdcdio.c | 68 (void)fcntl(f->file, F_SETFL, di->cntl); 93 (void)fcntl(f->file, F_SETFL, di->cntl); 147 (void)fcntl(f->file,F_SETFL,di->cntl); 175 if((cntl = fcntl(f->file,F_GETFL,0)) < 0) 180 if(fcntl(f->file,F_SETFL,cntl) < 0) 184 if(fcntl(f->file,F_DIOINFO,&dio) < 0) 222 (void)fcntl(f->file,F_SETFL,cntl);
|
/titanic_50/usr/src/lib/libast/common/misc/ |
H A D | procopen.c | 169 if (fcntl(arg1, F_DUPFD, arg2) != arg2) in modify() 221 m->arg.fd.parent.flag = fcntl(arg1, F_GETFD, 0); in modify() 226 m->arg.fd.child.flag = fcntl(arg2, F_GETFD, 0); in modify() 227 if ((m->save = fcntl(arg2, F_DUPFD, 3)) < 0) in modify() 232 fcntl(m->save, F_SETFD, FD_CLOEXEC); in modify() 234 if (fcntl(arg1, F_DUPFD, arg2) != arg2) in modify() 243 fcntl(arg1, F_SETFD, FD_CLOEXEC); in modify() 248 fcntl(arg1, F_SETFD, 0); in modify() 317 fcntl(m->arg.fd.child.fd, F_DUPFD, m->arg.fd.parent.fd); in restore() 319 fcntl(m->arg.fd.parent.fd, F_SETFD, m->arg.fd.parent.flag); in restore() [all …]
|
/titanic_50/usr/src/cmd/fs.d/nfs/lib/ |
H A D | daemon.c | 123 (void) fcntl(fd, F_DUP2FD, STDIN_FILENO); in daemonize_fini() 124 (void) fcntl(fd, F_DUP2FD, STDOUT_FILENO); in daemonize_fini() 125 (void) fcntl(fd, F_DUP2FD, STDERR_FILENO); in daemonize_fini()
|
/titanic_50/usr/src/cmd/ttymon/ |
H A D | tmlog.c | 74 if ((ret = fcntl(fd, F_DUPFD, 3)) == 3) { in openttymonlog() 76 if (fcntl(ret, F_SETFD, FD_CLOEXEC) == 0) { in openttymonlog() 123 (void) fcntl(fileno(Logfp), F_SETFD, 1); in roll_log() 248 if ((ret = fcntl(fd, F_DUPFD, 3)) < 0) in opendebug() 260 if (fcntl(fileno(Debugfp), F_SETFD, 1) == -1) in opendebug()
|
/titanic_50/usr/src/lib/libnsctl/common/ |
H A D | cache.c | 116 if (fcntl(id, F_SETLKW, &lk) < 0) 119 i = fcntl(id, F_GETFL); 137 if (fcntl(id, F_SETFL, mode) < 0) 195 if (fcntl(fd->sf_fd, F_SETLKW, &lk) < 0) 209 fcntl(fd->sf_fd, F_SETFD, 0);
|
/titanic_50/usr/src/lib/libnsl/common/ |
H A D | daemon_utils.c | 78 err = fcntl(fd, F_GETLK, &lock); in _check_daemon_lock() 157 if (fcntl(fd, F_SETLK, &lock) == -1) { in _enter_daemon_lock() 158 if (fcntl(fd, F_GETLK, &lock) == -1) { in _enter_daemon_lock()
|
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | util.c | 308 int flags = fcntl(fd, F_GETFL, 0); in enable_blocking() 309 (void) fcntl(fd, F_SETFL, (flags & ~O_NONBLOCK)); in enable_blocking() 315 int flags = fcntl(fd, F_GETFL, 0); in disable_blocking() 316 (void) fcntl(fd, F_SETFL, (flags | O_NONBLOCK)); in disable_blocking()
|
/titanic_50/usr/src/cmd/ypcmd/yppasswd/ |
H A D | yplckpwdf.c | 73 retval = fcntl(fildes, F_SETLKW, (int)&flock); in yplckpwdf() 90 (void) fcntl(fildes, F_SETLK, (int)&flock); in ypulckpwdf()
|
/titanic_50/usr/src/lib/libbc/libc/sys/common/ |
H A D | dup2.c | 50 if (fcntl(fildes, F_GETFL, 0) == -1) { in dup2() 73 if ((ret = fcntl(fildes, F_DUPFD, fildes2)) != -1) { in dup2()
|
/titanic_50/usr/src/cmd/sh/ |
H A D | io.c | 156 fs = fcntl(f2, 1, 0); in renamef() 158 fcntl(f1, 0, f2); in renamef() 161 fcntl(f2, 2, 1); in renamef() 390 f = fcntl(fd, F_DUPFD, 10); in savefd() 392 (void) fcntl(f, F_SETFD, FD_CLOEXEC); in savefd()
|
/titanic_50/usr/src/cmd/csh/ |
H A D | sh.tchar.c | 496 ((fflags = fcntl(d, F_GETFL, 0)) & O_NDELAY)) { in read_() 498 fcntl(d, F_SETFL, fflags); in read_() 503 fflags = fcntl(d, F_GETFL, 0); in read_() 505 fcntl(d, F_SETFL, fflags); in read_() 646 ((fflags = fcntl(d, F_GETFL, 0)) & O_NDELAY)) { in read_() 648 fcntl(d, F_SETFL, fflags); in read_() 653 fflags = fcntl(d, F_GETFL, 0); in read_() 655 fcntl(d, F_SETFL, fflags); in read_()
|
H A D | sh.c | 368 (void) fcntl(SHIN, F_SETFD, 1); in main() 463 (void) fcntl(dcopy(f, FSHTTY), F_SETFD, 1); in main() 620 (void) fcntl(unit, F_SETFD, 1); in srccat() 639 (void) fcntl(unit, F_SETFD, 1); in srccat_inlogin() 1074 (void) fcntl(u, F_SETFD, 1); in dosource() 1314 fcntl(script_fd, F_SETFD, 1); in initdesc_x() 1336 (void) fcntl(SHIN = dcopy(0, FSHIN), F_SETFD, 1); in initdesc_x() 1337 (void) fcntl(SHOUT = dcopy(1, FSHOUT), F_SETFD, 1); in initdesc_x() 1338 (void) fcntl(SHDIAG = dcopy(2, FSHDIAG), F_SETFD, 1); in initdesc_x() 1339 (void) fcntl(OLDSTD = dcopy(SHIN, FOLDSTD), F_SETFD, 1); in initdesc_x()
|
/titanic_50/usr/src/lib/libc/port/rt/ |
H A D | shm.c | 58 if ((flags = fcntl(fd, F_GETFD)) < 0 || in shm_open() 59 fcntl(fd, F_SETFD, flags | FD_CLOEXEC) < 0) { in shm_open()
|
/titanic_50/usr/src/cmd/sendmail/libsm/ |
H A D | local.h | 170 ret = fcntl((fd), F_GETFL, 0); \ 171 if (ret == -1 || fcntl((fd), F_SETFL, \ 186 ret = fcntl((fd), F_GETFL, 0); \ 187 if (ret == -1 || fcntl((fd), F_SETFL, \
|
/titanic_50/usr/src/lib/libcurses/screen/ |
H A D | ttimeout.c | 98 int flags = fcntl(cur_term->_inputfd, F_GETFL, 0); in _setblock() 105 (void) fcntl(cur_term->_inputfd, F_SETFL, flags); in _setblock()
|
/titanic_50/usr/src/lib/libresolv2/common/isc/ |
H A D | ev_files.c | 65 OK(mode = fcntl(fd, F_GETFL, NULL)); /*%< side effect: validate fd. */ in evSelectFD() 86 OK(fcntl(fd, F_SETFL, mode | PORT_NONBLOCK)); in evSelectFD() 172 mode = fcntl(del->fd, F_GETFL, NULL); in evDeselectFD() 209 (void) fcntl(del->fd, F_SETFL, mode & ~PORT_NONBLOCK); in evDeselectFD()
|
/titanic_50/usr/src/lib/libunistat/common/ |
H A D | spcs_log.c | 81 if (fcntl(fileno(fp), F_SETLKW, &lk) < 0) in spcs_log() 95 (void) fcntl(fileno(fp), F_SETLKW, &lk); in spcs_log()
|
/titanic_50/usr/src/cmd/mailx/ |
H A D | popen.c | 63 extern int execlp(), fork(), pipe(), close(), fcntl(); 98 (void) fcntl(yourside, 0, stdio); in npopen()
|