Searched refs:_fcntl (Results 1 - 18 of 18) sorted by relevance

/freebsd-current/libexec/rtld-elf/rtld-libc/
H A Dnamespace.h32 #define fcntl _fcntl
H A Drtld_libc.h76 #define _fcntl(fd, cmd, arg) __sys_fcntl(fd, cmd, arg) macro
H A DMakefile.inc60 getdirentries _close _fcntl _open _openat _read \
/freebsd-current/lib/libc/gen/
H A Ddup3.c56 return (_fcntl(oldfd, how, newfd));
H A Dpopen.c145 (void)_fcntl(pdes[1], F_SETFD, 0);
147 (void)_fcntl(pdes[1], F_SETFD, 0);
152 (void)_fcntl(pdes[0], F_SETFD, 0);
178 (void)_fcntl(fileno(iop), F_SETFD, 0);
H A Dwordexp.c173 _fcntl(pdes[1], F_SETFD, 0)) < 0)
175 if (_fcntl(pdesw[0], F_SETFD, 0) < 0)
H A Dopendir.c65 if (_fcntl(fd, F_SETFD, FD_CLOEXEC) == -1)
275 unionstack = _fcntl(fd, F_ISUNIONSTACK, 0);
H A Dposix_spawn.c175 if (_fcntl(fae->fae_fildes, F_SETFD, 0) == -1)
182 if (_fcntl(fae->fae_newfildes, F_SETFD, 0) == -1)
/freebsd-current/lib/libc/stdio/
H A Dfdopen.c67 if ((fdflags = _fcntl(fd, F_GETFL, 0)) < 0)
79 if ((oflags & O_CLOEXEC) && _fcntl(fd, F_SETFD, FD_CLOEXEC) == -1) {
H A Dfreopen.c84 if ((dflags = _fcntl(fp->_file, F_GETFL)) < 0) {
104 if (_fcntl(fp->_file, F_SETFL, dflags) < 0) {
117 (void) _fcntl(fp->_file, F_SETFD, FD_CLOEXEC);
203 if ((oflags & O_CLOEXEC ? _fcntl(f, F_DUP2FD_CLOEXEC, wantfd) :
/freebsd-current/lib/libc/rpc/
H A Dclnt_simple.c179 _fcntl(fd, F_SETFD, 1); /* make it "close on exec" */
H A Dkey_call.c406 _fcntl(fd, F_SETFD, 1); /* make it "close on exec" */
H A Dclnt_generic.c426 if ((nfd = _fcntl(fd, F_DUPFD, __rpc_minfd)) == -1)
H A Dsvc_vc.c333 flags = _fcntl(sock, F_GETFL, 0);
336 if (_fcntl(sock, F_SETFL, flags | O_NONBLOCK) == -1)
/freebsd-current/lib/libc/include/
H A Dnamespace.h65 #define fcntl _fcntl
/freebsd-current/lib/libc/net/
H A Dnscachedcli.c212 _fcntl(client_socket, F_SETFL, O_NONBLOCK);
H A Drcmd.c160 _fcntl(s, F_SETOWN, pid);
/freebsd-current/lib/libc/yp/
H A Dyplib.c528 if (_fcntl(ysd->dom_socket, F_SETFD, 1) == -1)

Completed in 274 milliseconds