| /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);
|
| t_fstatat.c | 67 ATF_REQUIRE((dfd = open(DIR, O_RDONLY, 0)) != -1); 119 ATF_REQUIRE((dfd = open(DIR, O_RDONLY, 0)) != -1); 140 ATF_REQUIRE((dfd = open(getcwd(cwd, MAXPATHLEN), O_RDONLY, 0)) != -1); 175 ATF_REQUIRE((dfd = open(DIR, 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/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/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/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)
|
| /src/sys/modules/examples/fopsmapper/ |
| cmd_mapper.c | 47 if ((devfd = open(_PATH_DEV_MAPPER, O_RDONLY)) == -1)
|
| /src/sys/arch/hpcmips/stand/pbsdboot/ |
| pbsdboot.c | 40 #define O_RDONLY 0x0000 /* open for reading only */ 52 if (CheckCancel(0) || (fd = open((char*)wkernel_name, O_RDONLY)) < 0) {
|
| /src/usr.sbin/sysinst/ |
| geom.c | 56 fd = opendisk(disk, O_RDONLY, diskpath, sizeof(diskpath), 0); 105 if ((fd = opendisk(disk, O_RDONLY, buf, sizeof(buf), 0)) == -1)
|
| /src/tests/lib/libc/sys/ |
| t_chroot.c | 82 fd = open("file", O_RDONLY | O_CREAT, 0600); 101 fd = open(buf, O_RDONLY); 191 fd = open(buf, O_RDONLY); 205 fd = open("file", O_RDONLY | O_CREAT, 0600); 224 fd = open(buf, O_RDONLY); 244 fd = open("/etc/passwd", O_RDONLY); 274 fd = open(buf, O_RDONLY);
|
| t_dup.c | 55 int mode[3] = { O_RDONLY, O_WRONLY, O_RDWR }; 70 fd2 = open("/etc/passwd", O_RDONLY); 114 fd1 = open("/etc/passwd", O_RDONLY); 115 fd2 = open("/etc/passwd", O_RDONLY); 142 fd = open("/etc/passwd", O_RDONLY); 207 fd = open("/etc/passwd", O_RDONLY); 319 buf[i] = open(path, O_RDONLY);
|
| /src/tests/lib/libc/gen/ |
| t_ttyname.c | 53 fd = open("XXX", O_RDONLY); 68 fd = open("/etc/passwd", O_RDONLY); 114 fd = open("/etc/passwd", O_RDONLY);
|
| isqemu.h | 53 int fd = open(DRVCTLDEV, O_RDONLY, 0);
|
| /src/games/cribbage/ |
| instr.c | 80 if ((fd = open(_PATH_INSTR, O_RDONLY)) == -1) {
|
| /src/include/ |
| ndbm.h | 47 #define DBM_RDONLY O_RDONLY
|
| /src/lib/libc/stdio/ |
| flags.c | 68 m = O_RDONLY;
|
| /src/lib/librumpuser/ |
| rumpuser_random.c | 66 random_fd = open(random_device, O_RDONLY);
|
| /src/share/examples/rump/ulptprint/ |
| ulptprint.c | 73 fd_src = open(argv[1], O_RDONLY);
|
| /src/share/man/tools/ |
| noso.c | 21 fd = open(argv[i], O_RDONLY);
|
| /src/tests/lib/libc/stdlib/ |
| t_system.c | 60 fd = open(path, O_RDONLY);
|