Home
last modified time | relevance | path

Searched refs:open (Results 201 – 225 of 1565) sorted by relevance

12345678910>>...63

/illumos-gate/usr/src/cmd/vi/port/
H A Dex_io.c301 open("/dev/null", 1); in glob()
391 io = open(file, 0); in rop()
605 io = open(file, 1);
642 io = open(file, 1);
861 if (open(fil, 0) < 0) {
/illumos-gate/usr/src/cmd/sgs/ldprof/common/
H A Dprofile.c134 if ((fd = open(MSG_ORIG(MSG_FMT_PROCSELF), O_RDONLY)) < 0) in la_version()
201 if ((fd = open(Profile, (O_RDWR | O_CREAT), 0666)) == -1) { in profile_open()
504 fd = open(Profile, O_RDWR, 0); in plt_cg_interp()
562 fd = open(Profile, O_RDWR, 0); in plt_cg_interp()
/illumos-gate/usr/src/cmd/lp/filter/postscript/postio/
H A Difdef.c100 else if ( (ttyi = open(line, O_RDWR)) == -1 ) in setupline()
372 } else if ( (ttyi = open(line, O_RDWR)) == -1 ) in setupline()
612 else if ( (ttyi = open(line, O_RDWR)) == -1 ) in setupline()
955 if ( (ttyi = open(line, O_RDWR)) == -1 ) in dkhost_connect()
/illumos-gate/usr/src/cmd/nohup/
H A Dnohup.c82 if ((fd = open(nout, flags, NOHUP_PERM)) < 0) { in open_file()
88 (fd = open(nout, flags, NOHUP_PERM)) < 0) { in open_file()
622 nh_fd = open(nout, O_WRONLY | O_CREAT, NOHUP_PERM); in pnohup()
628 nh_fd = open(nout, O_WRONLY | O_CREAT, NOHUP_PERM); in pnohup()
/illumos-gate/usr/src/stand/lib/sa/
H A Dunistd.h47 extern int open(const char *, int);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.comsat.c164 if ((uf = open(UTMPX_FILE, 0)) < 0) { in main()
321 if ((fd = open(tty, O_RDWR)) == -1) { in notify()
362 if ((mbox = open(name, O_RDONLY)) == -1) { in notify()
/illumos-gate/usr/src/boot/libsa/
H A Dstat.c43 fd = open(str, O_RDONLY); in stat()
/illumos-gate/usr/src/test/zfs-tests/cmd/mkholes/
H A Dmkholes.c68 if ((rand_fd = open("/dev/urandom", O_RDONLY)) < 0) { in get_random_buffer()
140 if ((fd = open(fname, O_LARGEFILE | O_RDWR | O_CREAT | O_SYNC, in main()
/illumos-gate/usr/src/cmd/ldmad/
H A Dldma_device.c164 if ((fd = open(path, O_RDWR)) != -1) { in ldma_dev_validate_path()
172 if ((fd = open(path, O_RDONLY)) != -1) { in ldma_dev_validate_path()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/aso/
H A Daso-fcntl.c120 …if (fd >= 0 || (fd = open(path, O_RDWR|O_cloexec)) < 0 && (fd = open(path, O_CREAT|O_RDWR|O_cloexe…
/illumos-gate/usr/src/test/smbclient-tests/cmd/prot_mmap/
H A Dprot_mmap.c127 src_fid = open(src_file, flags0); in main()
133 des_fid = open(des_file, flags1); in main()
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Ddebug.c122 dbg_fd = open(file, O_RDWR | O_CREAT | O_TRUNC, 0666); in dbg_setup()
259 if ((dbg_fd = open(file, (O_RDWR | O_APPEND), in dbg_print()
/illumos-gate/usr/src/cmd/fs.d/nfs/nfs4cbd/
H A Dnfs4cbd.c113 (void) open("/dev/null", O_RDONLY); in main()
114 (void) open("/dev/null", O_WRONLY); in main()
/illumos-gate/usr/src/cmd/mandoc/
H A Dterm_tag.c100 ofd = open(outfilename, O_WRONLY | O_CREAT | O_EXCL, 0644); in term_tag_init()
119 tfd = open(tagfilename, O_WRONLY | O_CREAT | O_EXCL, 0644); in term_tag_init()
/illumos-gate/usr/src/lib/libc/port/sys/
H A Depoll.c92 if ((fd = open("/dev/poll", O_RDWR)) == -1) in epoll_create()
118 if ((fd = open("/dev/poll", oflags)) == -1) in epoll_create1()
/illumos-gate/usr/src/lib/print/libprint/common/
H A Dnss_write.c111 fd = open(file, O_RDWR | O_CREAT | O_EXCL, 0644); in _file_put_printer()
113 fd = open(file, O_RDWR); in _file_put_printer()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/preroot/
H A Drealopen.c40 return(open(buf, mode, perm)); in realopen()
/illumos-gate/usr/src/test/bhyve-tests/tests/vmm/
H A Dcheck_iommu.c30 int ctl_fd = open(VMM_CTL_DEV, O_EXCL | O_RDWR); in main()
/illumos-gate/usr/src/cmd/svc/startd/
H A Dproc.c46 fd = open("/proc/self/psinfo", O_RDONLY); in proc_get_ctid()
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dcan_use_af.c48 if ((fd = open("/dev/udp", O_RDONLY)) < 0) in __can_use_af()
/illumos-gate/usr/src/contrib/ast/lib/package/
H A Dast-ast.pkg3 :LICENSE: *.open
/illumos-gate/usr/src/cmd/rcap/common/
H A Drcapd_stat.c45 if ((fd = open(file, O_RDONLY)) < 0) in stat_get_rcapd_pid()
/illumos-gate/usr/src/lib/cfgadm_plugins/sysctrl/common/
H A Dcfga.c540 if ((fd = open(ap_id, O_RDWR, 0)) == -1) in sysc_stat()
574 if ((sim_fd = open("/tmp/cfga_simdata", O_RDWR|O_CREAT)) == -1) { in sim_sysc_stat()
590 } else if ((fd = open(ap_id, O_RDWR, 0)) == -1) in sim_sysc_stat()
607 return (open(a, b, c)); in sim_open()
656 #define open(a, b, c) sim_open((char *)(a), (int)(b), (int)(c)) macro
724 if ((prom_fd = open(promdev, O_RDWR, 0)) < 0) in dlist_find()
771 if ((prom_fd = open(promdev, O_RDWR, 0)) < 0) in dlist_update()
1127 else if (((fd = open(ap_id, O_RDWR, 0)) == -1) || in cfga_private_func()
/illumos-gate/usr/src/tools/scripts/
H A Dwsdiff.py492 with open(f, mode='rb') as fd:
507 with open(f, mode='rb') as fd:
614 fd = open(flist, "r")
1174 with open(base, 'rb') as fh:
1181 with open(ptch, 'rb') as fh:
1232 with open(tmpFile1, 'rb') as fh:
1239 with open(tmpFile2, 'rb') as fh:
1415 log = open(results, "w")
/illumos-gate/usr/src/test/zfs-tests/cmd/has_unmap/
H A Dhas_unmap.c36 if ((fd = open(argv[1], O_RDONLY)) == -1) { in main()

12345678910>>...63