Searched refs:O_RDONLY (Results 1 – 23 of 23) sorted by relevance
/sysdeps/mach/hurd/bits/ |
A D | fcntl.h | 33 # 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 D | malloc-hugepages.c | 29 "/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 D | closefrom_fallback.c | 35 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 D | malloc-sysdep.h | 46 O_RDONLY | O_CLOEXEC); in check_may_shrink_heap()
|
A D | fips-private.h | 45 int fd = __open_nocancel ("/proc/sys/crypto/fips_enabled", O_RDONLY); in fips_enabled_p()
|
A D | tst-o_path-locks.c | 86 xclose (xopen (path, O_RDONLY, 0)); in do_test()
|
A D | tst-getdents64.c | 82 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 D | sysconf.c | 99 int fd = __open_nocancel (procfname, O_RDONLY | O_CLOEXEC); in __sysconf()
|
A D | tst-sync_file_range.c | 54 fifofd = open (fifoname, O_RDONLY | O_NONBLOCK); in do_prepare()
|
A D | gethostid.c | 80 fd = __open_nocancel (HOSTIDFILE, O_RDONLY|O_LARGEFILE, 0); in gethostid()
|
A D | getsysstats.c | 121 const int flags = O_RDONLY | O_CLOEXEC; in get_nproc_stat() 151 const int flags = O_RDONLY | O_CLOEXEC; in __get_nprocs()
|
A D | getlogin_r.c | 38 int fd = __open_nocancel ("/proc/self/loginuid", O_RDONLY); in __getlogin_r_loginuid()
|
A D | opendir.c | 27 opendir_oflags = O_RDONLY|O_NDELAY|O_DIRECTORY|O_LARGEFILE|O_CLOEXEC
|
A D | dl-sysdep.c | 91 int fd = __open64_nocancel ("/proc/sys/kernel/osrelease", O_RDONLY); in _dl_discover_osversion()
|
A D | tst-scm_rights.c | 50 int fd = xopen (PATH, O_RDONLY, 0); in subprocess()
|
/sysdeps/mach/hurd/ |
A D | opendir.c | 82 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 D | getrandom.c | 30 int open_flags = O_RDONLY | O_CLOEXEC; in __getrandom()
|
A D | check_fds.c | 77 check_one_fd (STDIN_FILENO, O_RDONLY); in check_standard_fds()
|
A D | dl-sysdep.c | 301 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 D | get_timebase_freq.c | 35 int fd = __open_nocancel ("/proc/cpuinfo", O_RDONLY); in get_timebase_freq_fallback()
|
/sysdeps/pthread/ |
A D | tst-cancel4.c | 957 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 D | fcntl-linux.h | 43 #define O_RDONLY 00 macro
|
/sysdeps/posix/ |
A D | getcwd.c | 275 fd = __openat64 (fd, "..", O_RDONLY); in __getcwd_generic()
|
Completed in 26 milliseconds