Home
last modified time | relevance | path

Searched refs:minfd (Results 1 – 4 of 4) sorted by relevance

/external/wayland/src/
Dwayland-os.c76 wl_os_dupfd_cloexec(int fd, long minfd) in wl_os_dupfd_cloexec() argument
80 newfd = fcntl(fd, F_DUPFD_CLOEXEC, minfd); in wl_os_dupfd_cloexec()
86 newfd = fcntl(fd, F_DUPFD, minfd); in wl_os_dupfd_cloexec()
Dwayland-os.h33 wl_os_dupfd_cloexec(int fd, long minfd);
/external/mesa3d/src/util/
Dos_file.c53 int minfd = 3; in os_dupfd_cloexec() local
54 int newfd = fcntl(fd, F_DUPFD_CLOEXEC, minfd); in os_dupfd_cloexec()
62 newfd = fcntl(fd, F_DUPFD, minfd); in os_dupfd_cloexec()
/external/python/cpython3/Lib/test/
Dtest_os.py1377 minfd = os.dup(1)
1378 os.close(minfd)
1384 self.assertEqual(newfd, minfd)