Searched refs:O_RDONLY (Results 1 - 25 of 875) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libbc/libc/gen/sys5/
H A Dnlist.c41 fd = open(name, O_RDONLY, 0);
/illumos-gate/usr/src/lib/libbc/libc/gen/4.2/
H A Dnlist.c42 fd = open(name, O_RDONLY, 0);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dopendir.c55 O_RDONLY | O_NDELAY | O_LARGEFILE, 0)) < 0)
H A Dattropen.c60 if ((fd = open64(file, O_RDONLY|O_NONBLOCK)) == -1) {
91 if ((fd = open(file, O_RDONLY|O_NONBLOCK)) == -1) {
/illumos-gate/usr/src/cmd/vt/
H A Dvtinfo.c45 if ((fd = open("/dev/vt/0", O_RDONLY)) < 0)
/illumos-gate/usr/src/lib/libbc/csu/common/
H A Dalloc_pbuf.c38 if((fd = open("/dev/zero",O_RDONLY)) == -1 ) {
/illumos-gate/usr/src/boot/lib/libstand/
H A Dstat.c46 fd = open(str, O_RDONLY);
/illumos-gate/usr/src/cmd/mt/
H A Dmt.c62 { "fsf", MTFSF, O_RDONLY, 1 },
63 { "bsf", MTBSF, O_RDONLY, 1 },
64 { "asf", MTASF, O_RDONLY, 1 },
65 { "fsr", MTFSR, O_RDONLY, 1 },
66 { "bsr", MTBSR, O_RDONLY, 1 },
67 { "rewind", MTREW, O_RDONLY, 0 },
68 { "offline", MTOFFL, O_RDONLY, 0 },
69 { "rewoffl", MTOFFL, O_RDONLY, 0 },
70 { "status", MTNOP, O_RDONLY, 0 },
71 { "retension", MTRETEN, O_RDONLY,
[all...]
/illumos-gate/usr/src/lib/libsqlite/tool/
H A Ddiffdb.c27 db1 = open(argv[1], O_RDONLY);
32 db2 = open(argv[2], O_RDONLY);
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dsetsid.c63 if ((fd = open("/dev/tty", O_RDONLY)) >= 0)
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dtypeahead.c104 * open(tty, O_RDONLY | O_NDELAY) : -1;
107 if ((cur_term->_check_fd = open("/dev/tty", O_RDONLY |
/illumos-gate/usr/src/cmd/svc/startd/
H A Dproc.c48 fd = open("/proc/self/psinfo", O_RDONLY);
/illumos-gate/usr/src/test/zfs-tests/cmd/dir_rd_update/
H A Ddir_rd_update.c77 testdd = open(dirpath, O_RDONLY|O_RSYNC|O_SYNC|O_DSYNC);
79 (void) printf("%s: open(<%s>, O_RDONLY|O_RSYNC|O_SYNC|O_DSYNC)"
87 int fd = open(dirpath, O_RDONLY|O_RSYNC|O_SYNC|O_DSYNC);
101 int fd = open(dirpath, O_RDONLY);
/illumos-gate/usr/src/lib/libproc/common/
H A Dproc_get_info.c64 if ((fd = open(fname, O_RDONLY)) >= 0) {
84 if ((fd = open(fname, O_RDONLY)) >= 0) {
112 if ((fd = open(fname, O_RDONLY)) >= 0) {
142 if ((fd = open(fname, O_RDONLY)) < 0)
173 if ((fd = open(fname, O_RDONLY)) >= 0) {
190 if ((fd = open(fname, O_RDONLY)) >= 0) {
213 if ((fd = open(fname, O_RDONLY)) >= 0) {
/illumos-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/
H A Dcmd_ecache.c77 if ((fd = open(path, O_RDONLY)) < 0)
133 if ((fd = open(cmd.cmd_ecache_dev, O_RDONLY)) < 0) {
142 (fd = open(cmd.cmd_ecache_dev, O_RDONLY)) < 0)
/illumos-gate/usr/src/lib/mpapi/libmpscsi_vhci/common/
H A DInitialize.c67 O_NDELAY | O_RDONLY);
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dcan_use_af.c50 if ((fd = open("/dev/udp", O_RDONLY)) < 0)
/illumos-gate/usr/src/cmd/rcap/common/
H A Drcapd_stat.c47 if ((fd = open(file, O_RDONLY)) < 0)
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dcheckrev.c28 if ((vfd == -1) && ((vfd = open(ipfname, O_RDONLY)) == -1)) {
H A Dkvatoname.c19 fd = open(IPL_NAME, O_RDONLY);
H A Dnametokva.c18 fd = open(IPL_NAME, O_RDONLY);
/illumos-gate/usr/src/test/zfs-tests/tests/functional/exec/
H A Dmmap_exec.c55 if ((fd = open(argv[1], O_RDONLY)) < 0) {
/illumos-gate/usr/src/test/zfs-tests/tests/functional/libzfs/
H A Dmany_fds.c56 int fd = open("/dev/null", O_RDONLY);
/illumos-gate/usr/src/lib/libast/common/vec/
H A Dvecfile.c48 if ((fd = open(file, O_RDONLY)) >= 0)
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dsignalfd.c28 int oflags = O_RDONLY;

Completed in 51 milliseconds

1234567891011>>