Searched refs:O_RDONLY (Results 151 - 175 of 847) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/netbsd-tests/lib/libpthread/
H A Dt_preempt.c89 fd = open("/dev/urandom", O_RDONLY, 0);
/freebsd-11-stable/contrib/atf/atf-c/
H A Dutils.c104 const int fd = open(name, O_RDONLY);
145 const int fd = open(name, O_RDONLY);
173 const int input = open(source, O_RDONLY);
309 ATF_REQUIRE((fd = open(file, O_RDONLY)) != -1);
/freebsd-11-stable/contrib/gcclibs/libssp/
H A Dssp.c72 fd = open ("/dev/urandom", O_RDONLY);
/freebsd-11-stable/contrib/groff/src/libs/libbib/
H A Dsearch.cpp58 int fd = open(filename, O_RDONLY | O_BINARY);
/freebsd-11-stable/contrib/pam_modules/pam_passwdqc/
H A Dpasswdqc_random.c56 if ((fd = open("/dev/urandom", O_RDONLY)) < 0) return NULL;
/freebsd-11-stable/lib/libc/tests/gen/
H A Dftw_test.c89 fd = open(dir, O_DIRECTORY|O_RDONLY);
/freebsd-11-stable/lib/libpam/modules/pam_nologin/
H A Dpam_nologin.c99 fd = open(nologin, O_RDONLY, 0);
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dparse_reply-test.c103 fd = open ("/dev/zero", O_RDONLY);
/freebsd-11-stable/contrib/ntp/util/
H A Dpps-api.c62 fd = open(argv[1], O_RDONLY);
/freebsd-11-stable/contrib/nvi/ex/
H A Dex_source.c50 if ((fd = open(name, O_RDONLY, 0)) < 0 || fstat(fd, &sb))
/freebsd-11-stable/tools/regression/audit/audit_pipe_ioctl/
H A Daudit_pipe_ioctl.c52 fd = open("/dev/auditpipe", O_RDONLY);
/freebsd-11-stable/tools/regression/security/cap_test/
H A Dcap_test_fcntl.c73 { "file", open("/etc/passwd", O_RDONLY) },
/freebsd-11-stable/usr.bin/find/
H A Dmain.c155 if ((dotfd = open(".", O_RDONLY | O_CLOEXEC, 0)) < 0)
/freebsd-11-stable/usr.bin/random/
H A Drandom.c152 if ((fd = open(filename, O_RDONLY, 0)) < 0)
/freebsd-11-stable/sys/fs/fuse/
H A Dfuse_file.h121 oflags = O_RDONLY;
/freebsd-11-stable/stand/powerpc/kboot/
H A Dhostdisk.c97 desc->d_unit = host_open(desc->d_opendata, O_RDONLY, 0);
/freebsd-11-stable/contrib/netbsd-tests/fs/kernfs/
H A Dt_basic.c52 if ((dfd = rump_sys_open("/kern", O_RDONLY)) == -1)
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/c063/
H A Dt_mkfifoat.c61 ATF_REQUIRE((dfd = open(DIR, O_RDONLY, 0)) != -1);
/freebsd-11-stable/usr.sbin/bhyve/
H A Dbootrom.c61 fd = open(romfile, O_RDONLY);
/freebsd-11-stable/usr.sbin/kgzip/
H A Dkgzld.c61 if ((idi.fd = open(idi.fname = f1, O_RDONLY)) == -1)
/freebsd-11-stable/usr.sbin/asf/
H A Dasf_kvm.c69 kd = kvm_openfiles(kernfile, corefile, NULL, O_RDONLY, errbuf);
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_snmp.c114 if ((hr_kd = kvm_open(NULL, _PATH_DEVNULL, NULL, O_RDONLY,
/freebsd-11-stable/stand/i386/loader/
H A Dchain.c72 fd = open(argv[1], O_RDONLY);
/freebsd-11-stable/usr.sbin/cpucontrol/
H A Dcpucontrol.c161 fd = open(dev, O_RDONLY);
211 fd = open(dev, O_RDONLY);
325 fd = open(dev, op == OP_READ ? O_RDONLY : O_WRONLY);
375 fd = open(dev, O_RDONLY);
/freebsd-11-stable/contrib/expat/xmlwf/
H A Dreadfilemap.c89 fd = topen(name, O_RDONLY | O_BINARY);

Completed in 378 milliseconds

1234567891011>>