Home
last modified time | relevance | path

Searched refs:O_RDWR (Results 1 – 16 of 16) sorted by relevance

/sysdeps/unix/sysv/linux/
A Dgentempfd.c27 int fd = __open (P_tmpdir, O_RDWR | O_TMPFILE | O_EXCL | flags, in __gen_tempfd()
30 fd = __open ("/tmp", O_RDWR | O_TMPFILE | O_EXCL | flags, in __gen_tempfd()
A Dgetpt.c38 return __posix_openpt (O_RDWR); in weak_alias()
A Dtst-ofdlocks-compat.c75 int fd = open64 (temp_filename, O_RDWR, 0666); in do_test()
A Dtst-ofdlocks.c60 int fd = open64 (temp_filename, O_RDWR, 0666); in do_test()
A Dtst-o_path-locks.c40 int fd = xopen (path, O_RDWR, 0); in subprocess()
A Dtst-ttyname.c283 master = posix_openpt (O_RDWR|O_NOCTTY|O_NONBLOCK); in do_in_chroot_1()
297 int slave = xopen (slavename, O_RDWR, 0); in do_in_chroot_1()
357 VERIFY ((master = posix_openpt (O_RDWR|O_NOCTTY|O_NONBLOCK)) >= 0); in do_in_chroot_2()
379 int slave = xopen (slavename, O_RDWR, 0); in do_in_chroot_2()
482 if (posix_openpt (O_RDWR|O_NOCTTY|O_NONBLOCK) < 0) in run_chroot_tests()
/sysdeps/mach/hurd/
A Dtmpfile.c46 err = __dir_mkfile (dir, O_RDWR, S_IRUSR | S_IWUSR, &file); in __tmpfile()
53 fd = _hurd_intern_fd (file, O_RDWR, 1); /* dealloc on error */ in __tmpfile()
A Dcheck_fds.c78 check_one_fd (STDOUT_FILENO, O_RDWR); in check_standard_fds()
79 check_one_fd (STDERR_FILENO, O_RDWR); in check_standard_fds()
/sysdeps/mach/hurd/bits/
A Dfcntl.h41 #define O_RDWR (O_RDONLY|O_WRONLY) /* Open for reading and writing. */ macro
42 #define O_ACCMODE O_RDWR /* Mask for file access modes. */
/sysdeps/unix/bsd/
A Dgetpt.c79 return __bsd_openpt (O_RDWR); in __getpt()
/sysdeps/pthread/
A Dsem_open.c68 (oflag & ~(O_CREAT|O_ACCMODE)) | O_NOFOLLOW | O_RDWR); in __sem_open()
135 fd = __open (tmpfname, O_RDWR | O_CREAT | O_EXCL, mode); in __sem_open()
A Dtst-cancel9.c39 int fd = open ("/dev/null", O_RDWR); in tf()
/sysdeps/unix/sysv/linux/ia64/
A Dioperm.c84 fd = __open ("/dev/mem", O_RDWR | O_SYNC); in _ioperm()
/sysdeps/unix/sysv/linux/bits/
A Dfcntl-linux.h45 #define O_RDWR 02 macro
/sysdeps/posix/
A Dtempname.c180 | O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR); in try_file()
/sysdeps/unix/sysv/linux/alpha/
A Dioperm.c718 fd = __open ("/dev/mem", O_RDWR); in _ioperm()

Completed in 19 milliseconds