Home
last modified time | relevance | path

Searched refs:FD_CLOEXEC (Results 1 – 25 of 90) sorted by relevance

1234

/external/bison/m4/
Ddup2.m426 #ifdef FD_CLOEXEC
27 if (fcntl (1, F_SETFD, FD_CLOEXEC) == -1)
32 #ifdef FD_CLOEXEC
33 if (fcntl (1, F_GETFD) != FD_CLOEXEC)
56 haiku*) # on Haiku alpha 2, dup2(1, 1) resets FD_CLOEXEC.
/external/parameter-framework/asio-1.10.6/include/asio/detail/impl/
Dpipe_select_interrupter.ipp47 #if defined(FD_CLOEXEC)
48 ::fcntl(read_descriptor_, F_SETFD, FD_CLOEXEC);
49 ::fcntl(write_descriptor_, F_SETFD, FD_CLOEXEC);
50 #endif // defined(FD_CLOEXEC)
/external/strace/xlat/
Dfdflags.h11 #if defined(FD_CLOEXEC) || (defined(HAVE_DECL_FD_CLOEXEC) && HAVE_DECL_FD_CLOEXEC)
12 XLAT(FD_CLOEXEC),
Dfdflags.in1 FD_CLOEXEC
/external/bison/lib/
Dcloexec.c47 int newflags = (value ? flags | FD_CLOEXEC : flags & ~FD_CLOEXEC); in set_cloexec_flag()
Dpipe2.c132 || fcntl (fd[1], F_SETFD, fcntl_flags | FD_CLOEXEC) == -1 in pipe2()
134 || fcntl (fd[0], F_SETFD, fcntl_flags | FD_CLOEXEC) == -1) in pipe2()
Dfcntl.in.h164 #ifndef FD_CLOEXEC
165 # define FD_CLOEXEC 1
Dfcntl.c257 if (flags < 0 || fcntl (result, F_SETFD, flags | FD_CLOEXEC) == -1) in rpl_fcntl()
279 result = (flags & HANDLE_FLAG_INHERIT) ? 0 : FD_CLOEXEC; in rpl_fcntl()
/external/avahi/avahi-core/
Dfdutil.c39 if (n & FD_CLOEXEC) in avahi_set_cloexec()
42 return fcntl(fd, F_SETFD, n|FD_CLOEXEC); in avahi_set_cloexec()
/external/google-breakpad/src/client/linux/crash_generation/
Dcrash_generation_server.cc94 if (fcntl(control_pipe[0], F_SETFD, FD_CLOEXEC)) in Start()
96 if (fcntl(control_pipe[1], F_SETFD, FD_CLOEXEC)) in Start()
145 if (fcntl(fds[1], F_SETFD, FD_CLOEXEC)) in CreateReportChannel()
/external/mtpd/
Dmtpd.c116 fcntl(control, F_SETFD, FD_CLOEXEC); in android_get_control_and_arguments()
172 fcntl(signals[0], F_SETFD, FD_CLOEXEC); in main()
173 fcntl(signals[1], F_SETFD, FD_CLOEXEC); in main()
298 fcntl(the_socket, F_SETFD, FD_CLOEXEC); in create_socket()
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/builds/unix/
Dftsystem.c255 #ifdef FD_CLOEXEC in FT_Stream_Open()
256 (void)fcntl( file, F_SETFD, FD_CLOEXEC ); in FT_Stream_Open()
/external/vboot_reference/cgpt/
Dcgpt_nor.c214 fcntl(1, F_SETFD, FD_CLOEXEC); in ReadNorFlash()
239 fcntl(1, F_SETFD, FD_CLOEXEC); in WriteNorFlash()
/external/strace/tests/
Dvfork-f.c62 if (fcntl(fds[1], F_SETFD, FD_CLOEXEC)) { in main()
/external/toybox/toys/other/
Doneit.c76 fcntl(4, F_SETFD, FD_CLOEXEC); in oneit_main()
/external/valgrind/memcheck/tests/
Dfile_locking.c51 if (fcntl(fd, F_SETFD, flags | FD_CLOEXEC) < 0) in open_lock_and_map()
/external/kernel-headers/original/uapi/asm-generic/
Dfcntl.h161 #define FD_CLOEXEC 1 /* actually anything with low bit set goes */ macro
/external/dbus/dbus/
Dsd-daemon.c106 if (flags & FD_CLOEXEC) in sd_listen_fds()
109 if (fcntl(fd, F_SETFD, flags | FD_CLOEXEC) < 0) { in sd_listen_fds()
/external/avahi/avahi-daemon/
Dsd-daemon.c111 if (flags & FD_CLOEXEC) in sd_listen_fds()
114 if (fcntl(fd, F_SETFD, flags | FD_CLOEXEC) < 0) { in sd_listen_fds()
/external/bison/darwin-lib/
Dfcntl.h476 #ifndef FD_CLOEXEC
477 # define FD_CLOEXEC 1 macro
/external/bison/linux-lib/
Dfcntl.h476 #ifndef FD_CLOEXEC
477 # define FD_CLOEXEC 1 macro
/external/deqp/framework/delibs/deutil/
DdeFile.c128 …nt newFlags = (flags & DE_FILE_CLOSE_ON_EXEC) ? (oldFlags | FD_CLOEXEC) : (oldFlags & ~FD_CLOEXEC); in deFile_setFlags()
/external/autotest/scheduler/
Dstatus_server.py107 fcntl.fcntl(self.fileno(), fcntl.F_SETFD, old_flags | fcntl.FD_CLOEXEC)
/external/boringssl/src/crypto/rand/
Durandom.c91 flags |= FD_CLOEXEC; in init_once()
/external/iptables/extensions/
Dlibxt_set.h27 if (fcntl(sockfd, F_SETFD, FD_CLOEXEC) == -1) { in get_version()

1234