/freebsd-9.3-release/contrib/ntp/ntpd/ |
H A D | refclock_tpro.c | 81 fd = open(device, O_RDONLY | O_NDELAY, 0777);
|
/freebsd-9.3-release/crypto/openssl/crypto/rand/ |
H A D | rand_unix.c | 184 if ((fd = open(randomfiles[i], O_RDONLY
|
/freebsd-9.3-release/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | input.c | 196 if ((fd = open(file, O_RDONLY)) < 0) 290 if ((fd = open(file, O_RDONLY)) < 0) {
|
/freebsd-9.3-release/contrib/gdb/gdb/ |
H A D | inflow.c | 444 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) 449 case O_RDONLY: 450 printf_filtered ("O_RDONLY");
|
/freebsd-9.3-release/contrib/less/ |
H A D | defines.ds | 394 #define O_RDONLY _O_RDONLY
|
/freebsd-9.3-release/contrib/libreadline/ |
H A D | histfile.c | 181 file = open (input, O_RDONLY|O_BINARY, 0666); 316 file = open (filename, O_RDONLY|O_BINARY, 0666);
|
/freebsd-9.3-release/contrib/tcsh/ |
H A D | tc.os.h | 355 #ifndef O_RDONLY 356 # define O_RDONLY 0 macro 357 #endif /* O_RDONLY */
|
/freebsd-9.3-release/crypto/heimdal/lib/hdb/ |
H A D | db.c | 282 if((flags & O_ACCMODE) == O_RDONLY) 293 (flags & O_ACCMODE) == O_RDONLY ?
|
/freebsd-9.3-release/lib/libncp/ |
H A D | ncpl_file.c | 88 if ((d = open(path, O_RDONLY)) < 0) return errno; 99 if ((d = open(path, O_RDONLY)) < 0) return errno;
|
/freebsd-9.3-release/sys/boot/userboot/test/ |
H A D | test.c | 136 tf->tf_u.fd = open(path, O_RDONLY); 442 disk_fd = open(disk_image, O_RDONLY);
|
/freebsd-9.3-release/tools/regression/pjdfstest/tests/open/ |
H A D | 00.t | 78 expect 0 open ${n0} O_CREAT,O_RDONLY 0644
|
/freebsd-9.3-release/usr.sbin/diskinfo/ |
H A D | diskinfo.c | 90 fd = open(argv[i], O_RDONLY); 93 fd = open(buf, O_RDONLY);
|
/freebsd-9.3-release/usr.sbin/pkg_install/lib/ |
H A D | file.c | 36 if ((fd = open(fname, O_RDONLY)) == -1) 195 fd = open(fname, O_RDONLY, 0);
|
/freebsd-9.3-release/usr.sbin/watch/ |
H A D | watch.c | 159 mode = O_RDONLY; 219 snp_tty = open(dev_name, O_RDONLY | O_NONBLOCK);
|
/freebsd-9.3-release/contrib/ntp/sntp/libevent/ |
H A D | arc4random.c | 264 fd = evutil_open_closeonexec_("/proc/sys/kernel/random/uuid", O_RDONLY, 0); 305 fd = evutil_open_closeonexec_(fname, O_RDONLY, 0);
|
/freebsd-9.3-release/contrib/sendmail/src/ |
H A D | map.c | 114 ** be either O_RDONLY or O_RDWR. Return true if it 541 if (map->map_class->map_open(map, O_RDONLY)) 986 if (mode != O_RDONLY) 1478 if (mode == O_RDONLY) 1619 if (mode == O_RDONLY) 1702 : O_RDONLY; 2116 if (!lockfile(fd, buf, NULL, mode == O_RDONLY ? LOCK_SH : LOCK_EX)) 2134 if (mode == O_RDONLY) 2199 if (mode == O_RDONLY && bitset(MF_ALIAS, map->map_mflags) && 2239 if (fd >= 0 && mode == O_RDONLY) [all...] |
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/zpool/ |
H A D | zpool_vdev.c | 303 if ((fd = open(file, O_RDONLY)) < 0) 526 if ((fd = open(path, O_RDONLY)) < 0) { 724 if ((fd = open(path, O_RDONLY)) >= 0) { 963 if ((fd = open(buf, O_RDONLY)) < 0) { 1033 if ((fd = open(path, O_RDONLY)) < 0)
|
/freebsd-9.3-release/contrib/libpcap/ |
H A D | pcap-usb-linux.c | 356 handle->fd = open(full_path, O_RDONLY, 0); 391 handle->fd = open(full_path, O_RDONLY, 0); 401 handle->fd = open(full_path, O_RDONLY, 0); 667 fd = open(string, O_RDONLY, 0); 677 fd = open(string, O_RDONLY, 0);
|
/freebsd-9.3-release/games/fortune/fortune/ |
H A D | fortune.c | 501 if ((fd = open(path, O_RDONLY)) < 0) { 665 if ((fd = open(offensive, O_RDONLY)) < 0) 1096 if (fp->datfd < 0 && (fp->datfd = open(fp->datfile, O_RDONLY)) < 0) { 1115 if ((fd = open(fp->posfile, O_RDONLY)) < 0 || 1144 if ((fd = open(fp->datfile, O_RDONLY)) < 0) {
|
/freebsd-9.3-release/lib/libc/gen/ |
H A D | fts-compat.c | 222 (sp->fts_rfd = _open(".", O_RDONLY | O_CLOEXEC, 0)) < 0) 351 if ((p->fts_symfd = _open(".", O_RDONLY | O_CLOEXEC, 443 _open(".", O_RDONLY | O_CLOEXEC, 0)) < 0) { 584 if ((fd = _open(".", O_RDONLY | O_CLOEXEC, 0)) < 0) 1183 if (fd < 0 && (newfd = _open(path, O_RDONLY | O_CLOEXEC, 0)) < 0)
|
H A D | fts.c | 217 (sp->fts_rfd = _open(".", O_RDONLY | O_CLOEXEC, 0)) < 0) 346 if ((p->fts_symfd = _open(".", O_RDONLY | O_CLOEXEC, 438 _open(".", O_RDONLY | O_CLOEXEC, 0)) < 0) { 579 if ((fd = _open(".", O_RDONLY | O_CLOEXEC, 0)) < 0) 1150 if (fd < 0 && (newfd = _open(path, O_RDONLY | O_DIRECTORY |
|
/freebsd-9.3-release/tools/regression/posixsem/ |
H A D | posixsem.c | 280 ksem_open_should_fail(TEST_PATH, O_RDONLY, 0777, 1, ENOENT); 296 ksem_open_should_fail(TEST_PATH, O_RDONLY | O_DIRECT, 0777, 1, EINVAL); 314 ksem_open_should_fail((char *)1024, O_RDONLY, 0777, 1, EFAULT); 326 ksem_open_should_fail(page, O_RDONLY, 0777, 1, ENAMETOOLONG); 1157 kd = kvm_openfiles(NULL, "/dev/null", NULL, O_RDONLY, errbuf);
|
/freebsd-9.3-release/usr.bin/xinstall/ |
H A D | xinstall.c | 779 if (!devnull && (from_fd = open(from_name, O_RDONLY, 0)) < 0) 784 if ((to_fd = open(to_name, O_RDONLY, 0)) < 0) 827 to_fd = open(tempcopy ? tempfile : to_name, O_RDONLY, 0); 839 if ((to_fd = open(to_name, O_RDONLY, 0)) < 0) 911 if ((to_fd = open(to_name, O_RDONLY, 0)) < 0)
|
/freebsd-9.3-release/contrib/cvs/diff/ |
H A D | diff.c | 162 : open (optarg, O_RDONLY, 0)); 1155 if ((inf[0].desc = open (inf[0].name, O_RDONLY, 0)) < 0) 1164 else if ((inf[1].desc = open (inf[1].name, O_RDONLY, 0)) < 0)
|
/freebsd-9.3-release/contrib/cvs/src/ |
H A D | filesubr.c | 68 if ((fdin = open (from, O_RDONLY)) < 0) 639 if ((fd1 = open (file1, O_RDONLY)) < 0) 641 if ((fd2 = open (file2, O_RDONLY)) < 0)
|