| /src/external/bsd/mdocml/dist/ |
| test-O_DIRECTORY.c | 6 return open(".", O_RDONLY | O_DIRECTORY) == -1;
|
| /src/external/gpl2/mkhybrid/dist/include/ |
| fctldefs.h | 44 * Do not define more than O_RDONLY / O_WRONLY / O_RDWR 47 #ifndef O_RDONLY 48 #define O_RDONLY 0
|
| /src/external/gpl2/groff/dist/src/include/ |
| posix.h | 59 #ifndef O_RDONLY 60 #define O_RDONLY 0
|
| /src/external/gpl3/binutils/dist/ld/ |
| sysdep.h | 64 #ifndef O_RDONLY 65 #define O_RDONLY 0 74 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
|
| /src/external/gpl3/binutils.old/dist/ld/ |
| sysdep.h | 64 #ifndef O_RDONLY 65 #define O_RDONLY 0 74 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
|
| /src/external/gpl3/gdb.old/dist/sim/common/ |
| target-newlib-open.c | 65 #ifdef O_RDONLY 66 { "O_RDONLY", O_RDONLY, 0 },
|
| /src/external/gpl3/gdb/dist/sim/common/ |
| target-newlib-open.c | 65 #ifdef O_RDONLY 66 { "O_RDONLY", O_RDONLY, 0 },
|
| /src/external/bsd/libpcap/dist/testprogs/ |
| unix.h | 47 #define O_RDONLY _O_RDONLY
|
| /src/external/gpl2/lvm2/dist/lib/misc/ |
| lvm-wrappers.c | 33 if ((fd = open("/dev/urandom", O_RDONLY)) < 0) {
|
| /src/tests/lib/libc/c063/ |
| t_openat.c | 64 ATF_REQUIRE((dfd = open(DIR, O_RDONLY, 0)) != -1); 65 ATF_REQUIRE((fd = openat(dfd, BASEFILE, O_RDONLY, 0)) != -1); 85 ATF_REQUIRE((fd = openat(AT_FDCWD, BASEFILE, O_RDONLY, 0)) != -1); 100 ATF_REQUIRE((fd = openat(AT_FDCWD, FILEERR, O_RDONLY, 0)) == -1); 114 ATF_REQUIRE((dfd = open(DIR, O_RDONLY, 0)) != -1); 115 ATF_REQUIRE((fd = openat(dfd, FILEERR, O_RDONLY, 0)) == -1); 134 ATF_REQUIRE((dfd = open(getcwd(cwd, MAXPATHLEN), O_RDONLY, 0)) != -1); 135 ATF_REQUIRE((fd = openat(dfd, BASEFILE, O_RDONLY, 0)) == -1); 152 ATF_REQUIRE((fd = openat(-1, FILE, O_RDONLY, 0)) == -1);
|
| /src/tests/kernel/kqueue/read/ |
| t_file2.c | 59 RL(fd1 = open("afile", O_RDONLY|O_CREAT, 0644)); 60 RL(fd2 = open("bfile", O_RDONLY|O_CREAT, 0644));
|
| /src/tests/kernel/ |
| h_fexecve.c | 43 int fd = open(args[0], O_RDONLY);
|
| /src/usr.sbin/sesd/srcs/ |
| getnobj.c | 52 fd = open(name, O_RDONLY);
|
| /src/external/gpl3/gdb.old/dist/gdbsupport/ |
| scoped_mmap.cc | 29 scoped_fd fd = gdb_open_cloexec (filename, O_RDONLY, 0);
|
| /src/external/gpl3/gdb/dist/gdbsupport/ |
| scoped_mmap.cc | 29 scoped_fd fd = gdb_open_cloexec (filename, O_RDONLY, 0);
|
| /src/external/public-domain/xz/dist/src/common/ |
| tuklib_open_stdxxx.c | 38 | (i == 0 ? O_WRONLY : O_RDONLY));
|
| /src/tests/rump/rumpvfs/ |
| t_etfs.c | 68 etcfd = open("/etc/passwd", O_RDONLY); 81 tfd = rump_sys_open(TESTPATH1, O_RDONLY); 137 tfd = rump_sys_open(TESTPATH1, O_RDONLY); 147 tfd = rump_sys_open(TESTPATH2, O_RDONLY); 281 RL(rump_sys_open("/key", O_RDONLY)); 282 RL(rump_sys_open("////////key", O_RDONLY)); 287 RL(rump_sys_open("/key//with/slashes", O_RDONLY)); 288 RL(rump_sys_open("key//with/slashes", O_RDONLY)); 290 rump_sys_open("/key/with/slashes", O_RDONLY) == -1); 294 rump_sys_open("/a/key//with/slashes", O_RDONLY) == -1) [all...] |
| /src/crypto/external/bsd/heimdal/dist/lib/hcrypto/ |
| rand-unix.c | 84 fd = _hc_unix_device_fd(O_RDONLY, NULL); 114 fd = _hc_unix_device_fd(O_RDONLY, NULL); 156 fd = _hc_unix_device_fd(O_RDONLY, NULL);
|
| /src/external/bsd/tmux/dist/ |
| osdep-sunos.c | 40 if ((f = open(tty, O_RDONLY)) < 0) 50 f = open(path, O_RDONLY); 78 if ((ttyfd = open(ttypath, O_RDONLY|O_NOCTTY)) == -1)
|
| /src/sys/arch/hpc/stand/hpcboot/ |
| file_ufs.h | 57 #define O_RDONLY 0x0000 /* open for reading only */
|
| /src/sys/arch/x68k/usr.bin/loadfont/ |
| loadfont.c | 41 if ((fd = open(file, O_RDONLY)) >= 0) {
|
| /src/sys/modules/examples/fopsmapper/ |
| cmd_mapper.c | 47 if ((devfd = open(_PATH_DEV_MAPPER, O_RDONLY)) == -1)
|
| /src/sys/modules/examples/mapper/ |
| cmd_mapper.c | 47 if ((devfd = open(_PATH_DEV_MAPPER, O_RDONLY)) == -1)
|
| /src/tests/lib/libc/ssp/ |
| h_read.c | 48 if ((fd = open(_PATH_DEVZERO, O_RDONLY)) == -1)
|
| /src/usr.bin/tset/ |
| misc.c | 50 if ((fd = open(file, O_RDONLY, 0)) < 0)
|