/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_io.c | 301 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 D | profile.c | 134 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 D | ifdef.c | 100 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 D | nohup.c | 82 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 D | unistd.h | 47 extern int open(const char *, int);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.comsat.c | 164 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 D | stat.c | 43 fd = open(str, O_RDONLY); in stat()
|
/illumos-gate/usr/src/test/zfs-tests/cmd/mkholes/ |
H A D | mkholes.c | 68 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 D | ldma_device.c | 164 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 D | aso-fcntl.c | 120 …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 D | prot_mmap.c | 127 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 D | debug.c | 122 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 D | nfs4cbd.c | 113 (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 D | term_tag.c | 100 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 D | epoll.c | 92 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 D | nss_write.c | 111 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 D | realopen.c | 40 return(open(buf, mode, perm)); in realopen()
|
/illumos-gate/usr/src/test/bhyve-tests/tests/vmm/ |
H A D | check_iommu.c | 30 int ctl_fd = open(VMM_CTL_DEV, O_EXCL | O_RDWR); in main()
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | proc.c | 46 fd = open("/proc/self/psinfo", O_RDONLY); in proc_get_ctid()
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | can_use_af.c | 48 if ((fd = open("/dev/udp", O_RDONLY)) < 0) in __can_use_af()
|
/illumos-gate/usr/src/contrib/ast/lib/package/ |
H A D | ast-ast.pkg | 3 :LICENSE: *.open
|
/illumos-gate/usr/src/cmd/rcap/common/ |
H A D | rcapd_stat.c | 45 if ((fd = open(file, O_RDONLY)) < 0) in stat_get_rcapd_pid()
|
/illumos-gate/usr/src/lib/cfgadm_plugins/sysctrl/common/ |
H A D | cfga.c | 540 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 D | wsdiff.py | 492 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 D | has_unmap.c | 36 if ((fd = open(argv[1], O_RDONLY)) == -1) { in main()
|