Searched defs:SOCK_CLOEXEC (Results 1 - 5 of 5) sorted by relevance
/external/wayland/src/ |
H A D | wayland-os.h | 52 #ifndef SOCK_CLOEXEC 53 #define SOCK_CLOEXEC 02000000 macro
|
/external/ltp/include/lapi/ |
H A D | socket.h | 36 #ifndef SOCK_CLOEXEC 37 # define SOCK_CLOEXEC 02000000 macro
|
H A D | fcntl.h | 29 #ifndef SOCK_CLOEXEC 30 # define SOCK_CLOEXEC O_CLOEXEC macro
|
/external/ltp/testcases/kernel/syscalls/accept4/ |
H A D | accept4_01.c | 42 #ifndef SOCK_CLOEXEC 43 #define SOCK_CLOEXEC O_CLOEXEC macro 75 if (flags & SOCK_CLOEXEC) 76 tst_resm(TINFO, "SOCK_CLOEXEC"); 77 if ((flags & SOCK_CLOEXEC) && (flags & SOCK_NONBLOCK)) 142 ((closeonexec_flag & SOCK_CLOEXEC) != 0); 150 fdf & FD_CLOEXEC, closeonexec_flag & SOCK_CLOEXEC); 236 do_test(lfd, &conn_addr, SOCK_CLOEXEC, 0); 238 do_test(lfd, &conn_addr, SOCK_CLOEXEC, SOCK_NONBLOCK);
|
/external/libmicrohttpd/src/microhttpd/ |
H A D | daemon.c | 112 #ifndef SOCK_CLOEXEC 113 #define SOCK_CLOEXEC 0 macro 2012 s = accept4 (fd, addr, &addrlen, SOCK_CLOEXEC | nonblock); 2037 #if !defined(HAVE_ACCEPT4) || HAVE_ACCEPT4+0 == 0 || !defined(HAVE_SOCK_NONBLOCK) || SOCK_CLOEXEC+0 == 0 3482 * Create a listen socket, if possible with SOCK_CLOEXEC flag set. 3493 int ctype = type | SOCK_CLOEXEC; 3499 if ( (MHD_INVALID_SOCKET == fd) && (EINVAL == MHD_socket_errno_) && (0 != SOCK_CLOEXEC) )
|
Completed in 525 milliseconds