Searched refs:FD_CLOEXEC (Results 1 - 17 of 17) sorted by relevance

/haiku/src/build/libbe/storage/
H A DFile.cpp171 fcntl(fd, F_SETFD, FD_CLOEXEC);
215 fcntl(fd, F_SETFD, FD_CLOEXEC);
253 fcntl(fd, F_SETFD, FD_CLOEXEC);
295 fcntl(fd, F_SETFD, FD_CLOEXEC);
H A DDirectory.cpp109 fcntl(fDirFd, F_SETFD, FD_CLOEXEC);
150 fcntl(fDirFd, F_SETFD, FD_CLOEXEC);
172 fcntl(fDirFd, F_SETFD, FD_CLOEXEC);
210 fcntl(fDirFd, F_SETFD, FD_CLOEXEC);
H A DEntry.cpp584 fcntl(parentFD, F_SETFD, FD_CLOEXEC);
999 fcntl(dirFD, F_SETFD, FD_CLOEXEC);
H A DNode.cpp639 fcntl(fAttrFd, F_SETFD, FD_CLOEXEC);
/haiku/headers/posix/
H A Dfcntl.h31 #define FD_CLOEXEC 1 /* close on exec */ macro
/haiku/src/kits/storage/
H A DDirectory.cpp113 fcntl(fDirFd, F_SETFD, FD_CLOEXEC);
155 fcntl(fDirFd, F_SETFD, FD_CLOEXEC);
178 fcntl(fDirFd, F_SETFD, FD_CLOEXEC);
217 fcntl(fDirFd, F_SETFD, FD_CLOEXEC);
H A DEntry.cpp330 fcntl(parentFD, F_SETFD, FD_CLOEXEC);
668 fcntl(dirFD, F_SETFD, FD_CLOEXEC);
H A DQuery.cpp319 fcntl(fQueryFd, F_SETFD, FD_CLOEXEC);
H A DNode.cpp649 fcntl(fAttrFd, F_SETFD, FD_CLOEXEC);
/haiku/src/servers/net/
H A DServices.cpp153 fcntl(fReadPipe, F_SETFD, FD_CLOEXEC);
154 fcntl(fWritePipe, F_SETFD, FD_CLOEXEC);
262 || fcntl(connection.socket, F_SETFD, FD_CLOEXEC) < 0) {
425 // could not clear FD_CLOEXEC on socket
/haiku/src/system/libroot/posix/
H A Dspawn.cpp464 fcntl(newfd, F_SETFD, FD_CLOEXEC);
511 if (fcntl(fds[0], F_SETFD, FD_CLOEXEC) != 0
512 || fcntl(fds[1], F_SETFD, FD_CLOEXEC) != 0) {
H A Ddirent.cpp148 fcntl(dirFD, F_SETFD, FD_CLOEXEC);
/haiku/src/libs/uuid/
H A Dgen_uuid.c87 fcntl(fd, F_SETFD, i | FD_CLOEXEC);
/haiku/src/system/libnetwork/netresolv/resolv/
H A Dres_send.c692 fcntl(statp->_vcsock, F_SETFD, FD_CLOEXEC);
886 fcntl(EXT(statp).nssocks[ns], F_SETFD, FD_CLOEXEC);
/haiku/headers/private/fs_shell/
H A Dfssh_api_wrapper.h768 #define FD_CLOEXEC FSSH_FD_CLOEXEC macro
/haiku/src/system/libnetwork/netresolv/net/
H A Dgetaddrinfo.c929 fcntl(s, F_SETFD, FD_CLOEXEC);
/haiku/src/system/kernel/fs/
H A Dvfs.cpp6188 fd_set_close_on_exec(context, fd, (argument & FD_CLOEXEC) != 0);
6199 status = fd_close_on_exec(context, fd) ? FD_CLOEXEC : 0;

Completed in 183 milliseconds