Searched refs:open (Results 301 - 325 of 1624) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_dli.c108 fd = open(dlipath, oflag, mode);
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dinuse_zpool.c95 if ((fd = open(slice, O_RDONLY)) > 0) {
/illumos-gate/usr/src/lib/libvolmgt/common/
H A Dvolmgt_on_private.c94 if ((fd = open(cn, O_RDONLY|O_NDELAY)) < 0) {
302 /* open the device */
303 if ((fd = open(cn, O_RDONLY|O_NDELAY)) < 0) {
304 /* if we can't open it *assume* it's not a match */
433 if ((fd = open(cn, O_RDONLY|O_NDELAY)) < 0) {
592 if ((xfd = open(NULL_PATH, O_RDWR)) >= 0) {
/illumos-gate/usr/src/lib/libnsl/common/
H A Ddaemon_utils.c124 if ((fd = open(lock_file, mode, 0644)) == -1)
/illumos-gate/usr/src/lib/libnsl/dial/
H A Dcallers.c224 /* We do locking (file and advisory) after open */
235 /* take care of the possible partial open fd */
236 (void) close(nullfd = open("/", O_RDONLY));
239 DEBUG(1, "generic open timeout\n%s", "");
240 logent("generic open", "TIMEOUT");
248 dcf = open(dcname, (O_RDWR | O_NDELAY));
251 dcf = open(dcname, O_RDWR);
257 DEBUG(1, "generic open failed, errno = %d\n", errno);
259 logent("generic open", "FAILED");
367 if ((ndcf = open(saved_dcnam
[all...]
/illumos-gate/usr/src/lib/libnsl/saf/
H A Ddoconfig.c473 if (open("/dev/null", O_RDWR) != 0)
/illumos-gate/usr/src/lib/libnsl/yp/
H A Ddbm.c73 pagf = open(pagbuf, 2);
75 pagf = open(pagbuf, 0);
85 dirf = open(pagbuf, 2);
87 dirf = open(pagbuf, 0);
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dsend.c90 /* open stream /dev/conslog */
91 tfd = open(logname, O_WRONLY);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dpt.c219 return (open("/dev/ptmx", oflag));
/illumos-gate/usr/src/lib/libinstzones/common/
H A Dzones_exec.c182 stdinfile = open(a_inputFile, O_RDONLY);
184 stdinfile = open("/dev/null", O_RDONLY); /* stdin = /dev/null */
220 * adjust interrupts and open files as a prelude to a
246 /* Close all open files except standard i/o */
649 * descriptors to remain open during the call - all
664 * -4 : could not open stdin source file
749 stdinfile = open(a_inputFile, O_RDONLY);
751 stdinfile = open("/dev/null", O_RDONLY); /* stdin = /dev/null */
755 return (-4); /* -4 : could not open stdin source file */
/illumos-gate/usr/src/cmd/ypcmd/
H A Dudpublickey.c171 open("/dev/null", O_RDWR, 0);
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_rep.c237 * Set the mode to read only. Root user can still open as RDWR.
248 if ((fd = open(FAB_REPOSITORY, O_RDWR | O_CREAT)) == -1) {
314 if ((copy_fd = open(copy_rep, O_RDWR | O_CREAT | O_TRUNC,
442 if ((tmp_fd = open(tmp_rep, O_RDWR|O_CREAT|O_TRUNC,
537 if ((tmp_fd = open(tmp_rep, O_RDWR|O_CREAT|O_TRUNC,
/illumos-gate/usr/src/cmd/nohup/
H A Dnohup.c84 if ((fd = open(nout, flags, NOHUP_PERM)) < 0) {
90 (fd = open(nout, flags, NOHUP_PERM)) < 0) {
191 (void) fprintf(stderr, gettext("nohup: cannot open/create "
268 * file descriptor before we call open to handle the case that
290 gettext("nohup: process %d cannot open %s: %s\n"),
311 * The victim couldn't open nohup.out so we'll have it try to reopen
624 nh_fd = open(nout, O_WRONLY | O_CREAT, NOHUP_PERM);
630 nh_fd = open(nout, O_WRONLY | O_CREAT, NOHUP_PERM);
636 (void) fprintf(stderr, gettext("nohup: cannot open/create "
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/cherrystone/psvcplugin/
H A Dpsvcplugin.c247 * if the device file is present but the open returns ENXIO
254 fd = open(dev_pr_info[i].file, O_RDONLY);
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/littleneck/psvcplugin/
H A Dpsvcplugin.c169 * if the device file is present but the open returns ENXIO
176 fd = open(dev_pr_info[i].file, O_RDONLY);
/illumos-gate/usr/src/cmd/ptools/pwait/
H A Dpwait.c118 if ((pfd->fd = open(psinfofile, O_RDONLY)) >= 0) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Dcontracts.c59 if ((fd = open(CONTRACT_TEMPLATE_PATH, O_RDWR)) == -1) {
60 error_msg(gettext("Failed to open contract file %s: %s"),
194 "(could not open ctl file: permission denied).\n",
200 "with %s (could not open ctl file: %s). Events will be "
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wanboot/hmac/
H A Dhmac.c190 in_fd = open(infile_name, O_RDONLY);
192 wbku_printerr("Cannot open input_file");
201 wbku_printerr("Cannot open %s", keyfile_name);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/
H A Dilbadm.c224 if ((fd = open(argv[2+shift], O_RDONLY)) == -1)
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_context.c86 if (zfd == -1 && (zfd = open("/dev/zero", O_RDWR)) >= 0)
/illumos-gate/usr/src/cmd/mdb/tools/setdynflag/common/
H A Dsetdynflag.c96 if ((fd = open(ifile, O_RDWR)) < 0)
97 die("Can't open %s", ifile);
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/java_api/src/
H A DTestMultiAggPrinta.java132 consumer.open();
/illumos-gate/usr/src/cmd/emul64ioctl/
H A Demul64ioctl.c129 * open the specified emul64_dev.
131 if ((fd = open(admin, O_RDONLY, 0444)) != -1) {
143 (void) printf("emul64ioctl: %s: open %s\n",
/illumos-gate/usr/src/cmd/fm/modules/common/cpumem-retire/
H A Dcma_cache.c119 fd = open(mem_cache_device, O_RDWR);
121 fmd_hdl_debug(hdl, "Driver open failed\n");
H A Dcma_cpu_arch.c68 if ((fd = open("/dev/bl", O_RDONLY)) < 0)

Completed in 190 milliseconds

<<11121314151617181920>>