Home
last modified time | relevance | path

Searched refs:O_RDONLY (Results 1 – 23 of 23) sorted by relevance

/sysdeps/mach/hurd/bits/
A Dfcntl.h33 # define O_READ O_RDONLY /* Open for reading. */
39 #define O_RDONLY 0x0001 /* Open read-only. */ macro
41 #define O_RDWR (O_RDONLY|O_WRONLY) /* Open for reading and writing. */
139 # define FREAD O_RDONLY
/sysdeps/unix/sysv/linux/
A Dmalloc-hugepages.c29 "/sys/kernel/mm/transparent_hugepage/hpage_pmd_size", O_RDONLY); in __malloc_default_thp_pagesize()
54 O_RDONLY); in __malloc_thp_mode()
81 int fd = __open64_nocancel ("/proc/meminfo", O_RDONLY); in malloc_default_hugepage_size()
149 O_RDONLY | O_DIRECTORY, 0); in __malloc_hugepage_config()
A Dclosefrom_fallback.c35 int dirfd = __open_nocancel (FD_TO_FILENAME_PREFIX, O_RDONLY | O_DIRECTORY, in __closefrom_fallback()
50 dirfd = __open_nocancel (FD_TO_FILENAME_PREFIX, O_RDONLY | O_DIRECTORY, in __closefrom_fallback()
A Dmalloc-sysdep.h46 O_RDONLY | O_CLOEXEC); in check_may_shrink_heap()
A Dfips-private.h45 int fd = __open_nocancel ("/proc/sys/crypto/fips_enabled", O_RDONLY); in fips_enabled_p()
A Dtst-o_path-locks.c86 xclose (xopen (path, O_RDONLY, 0)); in do_test()
A Dtst-getdents64.c82 int fd = xopen (".", O_RDONLY | O_DIRECTORY, 0); in do_test_large_size()
96 int fd = xopen (".", O_RDONLY | O_DIRECTORY, 0); in do_test_by_size()
A Dsysconf.c99 int fd = __open_nocancel (procfname, O_RDONLY | O_CLOEXEC); in __sysconf()
A Dtst-sync_file_range.c54 fifofd = open (fifoname, O_RDONLY | O_NONBLOCK); in do_prepare()
A Dgethostid.c80 fd = __open_nocancel (HOSTIDFILE, O_RDONLY|O_LARGEFILE, 0); in gethostid()
A Dgetsysstats.c121 const int flags = O_RDONLY | O_CLOEXEC; in get_nproc_stat()
151 const int flags = O_RDONLY | O_CLOEXEC; in __get_nprocs()
A Dgetlogin_r.c38 int fd = __open_nocancel ("/proc/self/loginuid", O_RDONLY); in __getlogin_r_loginuid()
A Dopendir.c27 opendir_oflags = O_RDONLY|O_NDELAY|O_DIRECTORY|O_LARGEFILE|O_CLOEXEC
A Ddl-sysdep.c91 int fd = __open64_nocancel ("/proc/sys/kernel/osrelease", O_RDONLY); in _dl_discover_osversion()
A Dtst-scm_rights.c50 int fd = xopen (PATH, O_RDONLY, 0); in subprocess()
/sysdeps/mach/hurd/
A Dopendir.c82 int flags = O_RDONLY | O_NONBLOCK | O_DIRECTORY | O_CLOEXEC; in __opendirat()
117 int fd = __open (name, O_RDONLY | O_NONBLOCK | O_DIRECTORY); in __opendir()
A Dgetrandom.c30 int open_flags = O_RDONLY | O_CLOEXEC; in __getrandom()
A Dcheck_fds.c77 check_one_fd (STDIN_FILENO, O_RDONLY); in check_standard_fds()
A Ddl-sysdep.c301 err = __dir_lookup (startdir, (char *)file_name, O_RDONLY, 0, in open_file()
307 O_RDONLY, 0, port); in open_file()
/sysdeps/unix/sysv/linux/powerpc/
A Dget_timebase_freq.c35 int fd = __open_nocancel ("/proc/cpuinfo", O_RDONLY); in get_timebase_freq_fallback()
/sysdeps/pthread/
A Dtst-cancel4.c957 open (arg ? "Makefile" : fifoname, O_RDONLY); in tf_open()
1001 tempfd = open ("Makefile", O_RDONLY); in tf_pread()
1190 tempfd = open ("Makefile", O_RDONLY); in tf_fsync()
1216 tempfd = open ("Makefile", O_RDONLY); in tf_fdatasync()
1242 tempfd = open ("Makefile", O_RDONLY); in tf_msync()
/sysdeps/unix/sysv/linux/bits/
A Dfcntl-linux.h43 #define O_RDONLY 00 macro
/sysdeps/posix/
A Dgetcwd.c275 fd = __openat64 (fd, "..", O_RDONLY); in __getcwd_generic()

Completed in 26 milliseconds