Home
last modified time | relevance | path

Searched refs:F_DUPFD_CLOEXEC (Results 1 – 25 of 67) sorted by relevance

123

/third_party/musl/porting/liteos_a/user/src/fcntl/
Dfcntl.c22 if (cmd == F_DUPFD_CLOEXEC) { in fcntl()
23 int ret = __syscall(SYS_fcntl, fd, F_DUPFD_CLOEXEC, arg); in fcntl()
29 ret = __syscall(SYS_fcntl, fd, F_DUPFD_CLOEXEC, 0); in fcntl()
/third_party/musl/src/fcntl/
Dfcntl.c23 if (cmd == F_DUPFD_CLOEXEC) { in fcntl()
24 int ret = __syscall(SYS_fcntl, fd, F_DUPFD_CLOEXEC, arg); in fcntl()
30 ret = __syscall(SYS_fcntl, fd, F_DUPFD_CLOEXEC, 0); in fcntl()
/third_party/mesa3d/src/util/
Dos_file.c23 #ifndef F_DUPFD_CLOEXEC
24 #define F_DUPFD_CLOEXEC 1030 macro
54 int newfd = fcntl(fd, F_DUPFD_CLOEXEC, minfd); in os_dupfd_cloexec()
/third_party/ltp/include/lapi/
Dfcntl.h33 #ifndef F_DUPFD_CLOEXEC
34 # define F_DUPFD_CLOEXEC 1030 macro
/third_party/mesa3d/docs/relnotes/
D12.0.4.rst218 - egl/android: replace call to dup(2) with fcntl(F_DUPFD_CLOEXEC)
219 - gallium/auxiliary: replace call to dup(2) with fcntl(F_DUPFD_CLOEXEC)
220 - st/dri: replace calls to dup(2) with fcntl(F_DUPFD_CLOEXEC)
221 - st/xa: replace call to dup(2) with fcntl(F_DUPFD_CLOEXEC)
222 - gallium/winsys: replace calls to dup(2) with fcntl(F_DUPFD_CLOEXEC)
/third_party/mesa3d/src/gallium/winsys/vc4/drm/
Dvc4_drm_winsys.c64 return vc4_screen_create(fcntl(ro->gpu_fd, F_DUPFD_CLOEXEC, 3), ro); in vc4_drm_screen_create_renderonly()
/third_party/libbpf/include/uapi/linux/
Dfcntl.h18 #define F_DUPFD_CLOEXEC (F_LINUX_SPECIFIC_BASE + 6) macro
/third_party/libdrm/amdgpu/
Damdgpu_device.c180 dev->flink_fd = fcntl(fd, F_DUPFD_CLOEXEC, 0); in amdgpu_device_initialize()
214 dev->fd = fcntl(fd, F_DUPFD_CLOEXEC, 0); in amdgpu_device_initialize()
/third_party/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl29.c56 TEST(fcntl(test_fd, F_DUPFD_CLOEXEC, 0)); in main()
/third_party/skia/third_party/externals/swiftshader/src/System/Linux/
DMemFd.cpp59 return ::fcntl(fd_, F_DUPFD_CLOEXEC, 0); in exportFd()
/third_party/musl/libc-test/src/functionalext/supplement/stdio/
Dfwrite.c103 fcntl(fds[pipeRead], F_SETFD, F_DUPFD_CLOEXEC); in fwrite_0400()
/third_party/rust/crates/libc/src/unix/solarish/
Dillumos.rs45 pub const F_DUPFD_CLOEXEC: ::c_int = 37; constant
Dsolaris.rs63 pub const F_DUPFD_CLOEXEC: ::c_int = 47; constant
/third_party/musl/libc-test/src/api/
Dfcntl.c9 C(F_DUPFD_CLOEXEC) in f()
/third_party/rust/crates/nix/src/
Dfcntl.rs416 F_DUPFD_CLOEXEC(RawFd),
448 F_DUPFD_CLOEXEC(RawFd),
461 F_DUPFD_CLOEXEC(rawfd) => libc::fcntl(fd, libc::F_DUPFD_CLOEXEC, rawfd),
/third_party/node/deps/uv/src/unix/
Dprocess.c297 #ifdef F_DUPFD_CLOEXEC /* POSIX 2008 */ in uv__process_child_init()
298 pipes[fd][1] = fcntl(use_fd, F_DUPFD_CLOEXEC, stdio_count); in uv__process_child_init()
304 #ifndef F_DUPFD_CLOEXEC /* POSIX 2008 */ in uv__process_child_init()
/third_party/rust/crates/rustix/src/backend/linux_raw/io/
Dsyscalls.rs32 epoll_event, EPOLL_CTL_ADD, EPOLL_CTL_DEL, EPOLL_CTL_MOD, F_DUPFD_CLOEXEC, F_GETFD, F_SETFD,
480 c_uint(F_DUPFD_CLOEXEC), in fcntl_dupfd_cloexec()
489 c_uint(F_DUPFD_CLOEXEC), in fcntl_dupfd_cloexec()
/third_party/libuv/src/unix/
Dprocess.c297 #ifdef F_DUPFD_CLOEXEC /* POSIX 2008 */ in uv__process_child_init()
298 pipes[fd][1] = fcntl(use_fd, F_DUPFD_CLOEXEC, stdio_count); in uv__process_child_init()
304 #ifndef F_DUPFD_CLOEXEC /* POSIX 2008 */ in uv__process_child_init()
/third_party/musl/porting/liteos_m/user/include/
Dfcntl.h52 #define F_DUPFD_CLOEXEC 1030 macro
/third_party/musl/ndk_musl_include/
Dfcntl.h53 #define F_DUPFD_CLOEXEC 1030 macro
/third_party/musl/porting/uniproton/kernel/include/
Dfcntl.h52 #define F_DUPFD_CLOEXEC 1030 macro
/third_party/musl/porting/linux/user/include/
Dfcntl.h53 #define F_DUPFD_CLOEXEC 1030 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
Dfcntl.h52 #define F_DUPFD_CLOEXEC 1030 macro
/third_party/musl/porting/liteos_a/kernel/include/
Dfcntl.h53 #define F_DUPFD_CLOEXEC 1030 macro
/third_party/musl/porting/liteos_m/kernel/include/
Dfcntl.h52 #define F_DUPFD_CLOEXEC 1030 macro

123