Searched refs:O_RDONLY (Results 101 - 125 of 847) sorted by relevance

1234567891011>>

/freebsd-11-stable/lib/libc/db/test/hash.tests/
H A Dtread2.c75 if (!(dbp = dbopen( "hashtest", O_RDONLY, 0400, DB_HASH, &ctl))) {
H A Dtseq.c64 if (!(dbp = dbopen( "hashtest", O_RDONLY, 0400, DB_HASH, NULL))) {
H A Dtverify.c76 if (!(dbp = dbopen( "hashtest", O_RDONLY, 0400, DB_HASH, &ctl))) {
/freebsd-11-stable/lib/libc/iconv/
H A Dcitrus_mmap.c62 if ((fd = _open(path, O_RDONLY | O_CLOEXEC)) == -1)
/freebsd-11-stable/contrib/ntp/sntp/libopts/compat/
H A Dwindows-config.h102 #define O_RDONLY _O_RDONLY macro
/freebsd-11-stable/tests/sys/file/
H A Dfcntlflags_test.c105 subtests("/dev/null", O_RDONLY, "O_RDONLY");
/freebsd-11-stable/tools/regression/priv/
H A Dpriv_io.c85 fd = open(DEV_IO, O_RDONLY);
H A Dpriv_vfs_fhopen.c71 fd = fhopen(&fh, O_RDONLY);
/freebsd-11-stable/tools/tools/wtap/vis_map/
H A Dvis_map.c77 dev = open("/dev/visctl", O_RDONLY);
/freebsd-11-stable/usr.bin/cksum/
H A Dcksum.c114 if ((fd = open(fn, O_RDONLY, 0)) < 0) {
/freebsd-11-stable/share/examples/ses/srcs/
H A Dgetobjmap.c54 fd = open(*v, O_RDONLY);
/freebsd-11-stable/usr.sbin/bluetooth/ath3kfw/
H A Dath3k_fw.c54 fd = open(fwname, O_RDONLY);
/freebsd-11-stable/usr.sbin/boot98cfg/
H A Dboot98cfg.c187 fd1 = open(iplpath, O_RDONLY);
198 fd1 = open(menupath, O_RDONLY);
228 fd = open(disk, O_RDONLY);
276 fd = open(buf, O_RDONLY);
/freebsd-11-stable/tools/tools/ath/arcode/
H A Darcode.c85 fd = open(file, O_RDONLY);
/freebsd-11-stable/contrib/netbsd-tests/rump/modautoload/
H A Dt_modautoload.c76 if ((fd = rump_sys_open("/kern/hz", O_RDONLY)) == -1)
/freebsd-11-stable/crypto/openssh/regress/unittests/sshkey/
H A Dcommon.c46 ASSERT_INT_NE(fd = open(test_data_file(name), O_RDONLY), -1);
/freebsd-11-stable/tests/sys/audit/
H A Dioctl.c56 ATF_REQUIRE((filedesc = open("/dev/auditpipe", O_RDONLY)) != -1);
/freebsd-11-stable/lib/libc/tests/gen/
H A Drealpath2_test.c81 fd = open("aaa", O_RDONLY | O_CREAT, 0600);
/freebsd-11-stable/contrib/netbsd-tests/kernel/
H A Dt_rnd.c103 RL(fd = rump_sys_open("/dev/random", O_RDONLY));
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/c063/
H A Dt_fchownat.c88 ATF_REQUIRE((dfd = open(DIR, O_RDONLY, 0)) != -1);
155 ATF_REQUIRE((dfd = open(DIR, O_RDONLY, 0)) != -1);
179 ATF_REQUIRE((dfd = open(getcwd(cwd, MAXPATHLEN), O_RDONLY, 0)) != -1);
221 ATF_REQUIRE((dfd = open(DIR, O_RDONLY, 0)) != -1);
H A Dt_fexecve.c64 if ((fd = open("/usr/bin/touch", O_RDONLY, 0)) == -1)
H A Dt_utimensat.c73 ATF_REQUIRE((dfd = open(DIR, O_RDONLY, 0)) != -1);
131 ATF_REQUIRE((dfd = open(DIR, O_RDONLY, 0)) != -1);
151 ATF_REQUIRE((dfd = open(getcwd(cwd, MAXPATHLEN), O_RDONLY, 0)) != -1);
185 ATF_REQUIRE((dfd = open(DIR, O_RDONLY, 0)) != -1);
/freebsd-11-stable/sbin/comcontrol/
H A Dcomcontrol.c69 fd = open(argv[1], O_RDONLY|O_NONBLOCK, 0);
/freebsd-11-stable/stand/libsa/
H A Dpager.c138 if ((fd = open(fname, O_RDONLY)) == -1) {
/freebsd-11-stable/usr.sbin/nandtool/
H A Dnand_writeoob.c70 if ((fd_in = open(in, O_RDONLY)) == -1) {

Completed in 219 milliseconds

1234567891011>>