Searched refs:my_fd (Results 1 – 5 of 5) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/ioctl/ |
D | ioctl_ns06.c | 62 int my_fd, child_fd, parent_fd; in run() local 64 my_fd = SAFE_OPEN("/proc/self/ns/user", O_RDONLY); in run() 79 SAFE_FSTAT(my_fd, &my_stat); in run() 88 SAFE_CLOSE(my_fd); in run()
|
D | ioctl_ns05.c | 63 int my_fd, child_fd, parent_fd; in run() local 66 my_fd = SAFE_OPEN("/proc/self/ns/pid", O_RDONLY); in run() 83 SAFE_FSTAT(my_fd, &my_stat); in run() 92 SAFE_CLOSE(my_fd); in run()
|
/third_party/boost/boost/process/detail/posix/ |
D | handles.hpp | 34 auto my_fd = ::dirfd(dir.get()); in get_handles() local 47 if (conv == my_fd) in get_handles() 118 auto my_fd = ::dirfd(dir); in on_exec_setup() local 128 if ((conv == my_fd) || (conv == -1)) in on_exec_setup()
|
/third_party/glib/gio/tests/ |
D | unix-fd.c | 16 int my_fd; in check_fd_list() local 18 my_fd = dup (0); in check_fd_list() 19 g_assert_cmpint (fd_list[i], ==, my_fd); in check_fd_list()
|
/third_party/glib/gio/ |
D | gsubprocess.c | 214 gint my_fd; in unix_open_file() local 216 my_fd = g_open (filename, mode | O_BINARY | O_CLOEXEC, 0666); in unix_open_file() 219 if (my_fd < 0) in unix_open_file() 233 fcntl (my_fd, F_SETFD, FD_CLOEXEC); in unix_open_file() 236 return my_fd; in unix_open_file()
|