Searched refs:open (Results 801 - 825 of 1624) sorted by relevance

<<31323334353637383940>>

/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dmod.c120 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 Drssread.sh196 (( $? != 0 )) && { print -u2 -f "%s: Could not open %s\n" "$0" "${1}" ; return 1 ; }
/illumos-gate/usr/src/lib/libzonecfg/common/
H A Dgetzoneent.c213 lock_fd = open(path, O_CREAT|O_RDWR, 0644);
/illumos-gate/usr/src/lib/libnwam/common/
H A Dlibnwam_backend.c353 did = open(NWAM_BACKEND_DOOR_FILE,
/illumos-gate/usr/src/lib/libc/port/gen/
H A Diconv.c285 fd = open(_ENCODING_ALIAS_PATH, O_RDONLY);
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_unix.c257 * 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 Dcommon.c164 /* vntsd_open_vcc() - open a vcc port */
182 drvfd = open(path, O_RDWR);
/illumos-gate/usr/src/cmd/wall/
H A Dwall.c186 (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 Dwrite.c336 /* 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 Dypserv.c240 t = open("/dev/tty", 2);
/illumos-gate/usr/src/cmd/zlook/
H A Dzlook.c307 if ((fd = open(ZUT_DEV, O_RDONLY)) < 0) {
/illumos-gate/usr/src/lib/cfgadm_plugins/pci/common/
H A Dcfga.c130 /* 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 Dndmpd_scsi.c89 * 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 Dscf_notify.c496 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 Dpicl_slm.c152 door_fd = open(PICLEVENT_DOOR, O_RDONLY);
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/envmon/
H A Dpiclenvmon.c932 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 Dpiclkstat.c347 fd = open(device, O_RDONLY|O_NDELAY|O_NONBLOCK|O_NOCTTY);
/illumos-gate/usr/src/cmd/power/
H A Dparse.c194 * 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 Dpsig.c203 if ((fd = open(pathname, O_RDONLY)) < 0) {
204 perr("open sigact");
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/
H A Dpppoe.c103 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 Dpppoed.c90 tunfd = open(tunnam, O_RDWR);
/illumos-gate/usr/src/cmd/csh/
H A Dsh.misc.c222 open("/dev/null", 0);
/illumos-gate/usr/src/cmd/mt/
H A Dmt.c51 /* 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 Ddlmgmt_main.c72 * 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 Ddtrace.c304 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...]

Completed in 153 milliseconds

<<31323334353637383940>>