/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | mod.c | 120 if ((fd = open(objpath, O_RDONLY)) < 0) { 121 topo_mod_dprintf(mp, "unable to open %s\n", objpath);
|
/illumos-gate/usr/src/lib/libshell/common/scripts/ |
H A D | rssread.sh | 196 (( $? != 0 )) && { print -u2 -f "%s: Could not open %s\n" "$0" "${1}" ; return 1 ; }
|
/illumos-gate/usr/src/lib/libzonecfg/common/ |
H A D | getzoneent.c | 213 lock_fd = open(path, O_CREAT|O_RDWR, 0644);
|
/illumos-gate/usr/src/lib/libnwam/common/ |
H A D | libnwam_backend.c | 353 did = open(NWAM_BACKEND_DOOR_FILE,
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | iconv.c | 285 fd = open(_ENCODING_ALIAS_PATH, O_RDONLY);
|
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_unix.c | 257 * Mode is like the number passed to open system calls 339 * F is for restoration of tty mode if from open/visual. 366 * which is like a open number. If input is required to 401 tfile = open(tfname, 2);
|
/illumos-gate/usr/src/cmd/vntsd/ |
H A D | common.c | 164 /* vntsd_open_vcc() - open a vcc port */ 182 drvfd = open(path, O_RDWR);
|
/illumos-gate/usr/src/cmd/wall/ |
H A D | wall.c | 186 (void) fprintf(stderr, "Cannot open %s\n", infile); 304 (void) fprintf(stderr, "Cannot open %s\n", root); 386 if ((fd = open(s, O_WRONLY|O_NOCTTY|O_NONBLOCK)) == -1) { 389 perror("open"); 415 perror("open");
|
/illumos-gate/usr/src/cmd/write/ |
H A D | write.c | 336 /* Try to open up the line to the receipient's terminal. */ 502 gettext("Timeout trying to open %s's line(%s).\n"), 528 if ((fildes = open(term, O_WRONLY|O_NOCTTY)) < 0)
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypserv.c | 240 t = open("/dev/tty", 2);
|
/illumos-gate/usr/src/cmd/zlook/ |
H A D | zlook.c | 307 if ((fd = open(ZUT_DEV, O_RDONLY)) < 0) {
|
/illumos-gate/usr/src/lib/cfgadm_plugins/pci/common/ |
H A D | cfga.c | 130 /* n */ "open ", 283 if ((fd = open(ap_id, O_RDWR)) == -1) { 284 DBG(2, ("open = ap_id%s, fd%d\n", ap_id, fd)); 285 DBG_F(2, (stderr, "open on %s failed\n", ap_id)); 886 if ((fd = open(ap_id, O_RDWR)) == -1) { 887 DBG(2, ("open = ap_id%s, fd%d\n", ap_id, fd)); 888 DBG_F(2, (stderr, "open on %s failed\n", ap_id)); 1120 if ((fd = open(ap_id, O_RDWR)) == -1) { 1121 DBG(1, ("open failed\n")); 1125 DBG(1, ("open [all...] |
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_scsi.c | 89 * This handler closes the currently open SCSI device. 106 NDMP_LOG(LOG_ERR, "SCSI device is not open."); 134 * This handler returns state information for the currently open SCSI device. 229 NDMP_LOG(LOG_ERR, "SCSI device is not open."); 299 NDMP_LOG(LOG_ERR, "SCSI device is not open."); 380 * Send a reply for SCSI open command 402 * Common SCSI open function for all NDMP versions 406 * devname (input) - device name to open. 425 "Session already has a tape or scsi device open."); 435 (devid = open(devnam [all...] |
/illumos-gate/usr/src/cmd/oplhpd/ |
H A D | scf_notify.c | 496 if ((fd = open(SCFIOCDEV, O_WRONLY)) < 0) { 497 syslog(LOG_ERR, "open %s fail", SCFIOCDEV);
|
/illumos-gate/usr/src/cmd/picl/plugins/common/piclevent/ |
H A D | picl_slm.c | 152 door_fd = open(PICLEVENT_DOOR, O_RDONLY);
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/envmon/ |
H A D | piclenvmon.c | 932 envmon_fd = open(envmon_device_name, O_RDONLY); 1071 envmon_fd = open(envmon_device_name, O_RDWR); 1565 if ((envmon_fd = open(envmon_device_name, O_RDONLY)) < 1769 if ((envmon_fd = open(envmon_device_name, O_RDONLY)) < 0) {
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/ |
H A D | piclkstat.c | 347 fd = open(device, O_RDONLY|O_NDELAY|O_NONBLOCK|O_NOCTTY);
|
/illumos-gate/usr/src/cmd/power/ |
H A D | parse.c | 194 * limit open() to the real user 206 fd = open(name, oflag); 225 mesg(MEXIT, "cannot open %s\n", name);
|
/illumos-gate/usr/src/cmd/ptools/psig/ |
H A D | psig.c | 203 if ((fd = open(pathname, O_RDONLY)) < 0) { 204 perr("open sigact");
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/ |
H A D | pppoe.c | 103 tstfd = open(devnam, O_NONBLOCK | O_RDWR, 0); 109 option_error("unable to open %s: %m", devnam); 486 fatal("unable to open environment file: %m");
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/ |
H A D | pppoed.c | 90 tunfd = open(tunnam, O_RDWR);
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.misc.c | 222 open("/dev/null", 0);
|
/illumos-gate/usr/src/cmd/mt/ |
H A D | mt.c | 51 /* Pseudo flag for open even if drive is not ready (Unloaded) or reserved */ 129 mtfd = open(tape, comp->c_oflag);
|
/illumos-gate/usr/src/cmd/dlmgmtd/ |
H A D | dlmgmt_main.c | 72 * privileges are dropped in dlmgmt_drop_privileges(). It is not able to open 141 if ((fd = open(doorpath, O_CREAT|O_RDONLY, 0644)) == -1) { 143 dlmgmt_log(LOG_ERR, "open(%s) failed: %s", doorpath, 440 * Keep the pfds fd open, close other fds.
|
/illumos-gate/usr/src/cmd/dtrace/ |
H A D | dtrace.c | 304 if ((fd = open(fname, O_RDONLY)) == -1) { 309 fatal("failed to open %s", fname); 325 if ((fd = open(fname, O_WRONLY | O_TRUNC)) == -1) 326 fatal("failed to open %s for writing", fname); 386 if ((fd = open(fname, O_RDONLY)) == -1) 387 fatal("failed to open %s", fname); 430 if ((fd = open(tmpname, 462 fatal("failed to open output file '%s'", g_ofile); 715 fatal("failed to open %s", dcp->dc_arg); 1376 * Now that we have libdtrace open, mak [all...] |