/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | device_ctl.c | 174 cp = &prinfo->open; break;
|
/illumos-gate/usr/src/cmd/avs/dsw/ |
H A D | iicpbmp.c | 134 dsw_fd = open(DSWDEV, O_RDONLY); 171 (void) fprintf(stderr, gettext("Can't open old bitmap file\n")); 197 (void) fprintf(stderr, gettext("Can't open new bitmap file\n"));
|
H A D | iicpshd.c | 97 /* open dscfg anyway */ 133 dsw_fd = open(DSWDEV, O_RDONLY); 194 /* open bitmap by using update mode */ 196 (void) fprintf(stderr, gettext("Can't open bitmap file\n")); 291 (void) fprintf(stderr, gettext("Can't open old shadow file\n")); 295 (void) fprintf(stderr, gettext("Can't open new shadow file\n"));
|
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | dumpmain.c | 692 msg(gettext("Cannot open dump device `%s': %s\n"), 738 * we can't open it, we'll silently fall back to the old method 749 mapfd = open(block, O_RDONLY, 0); 1305 if ((fd = open("/dev/zero", O_RDWR)) < 0) { 1307 msg(gettext("Cannot open `%s': %s\n"), 1389 * Safely open a file or device. 1413 * The initial open with the hard-coded flags is ok even if we 1414 * are intending to open only for reading. If it succeeds, 1417 * truncating it with the open. 1419 if ((fd = open(filenam [all...] |
/illumos-gate/usr/src/cmd/bnu/ |
H A D | security.c | 151 LogFile = open(LogName, O_WRONLY | O_APPEND);
|
H A D | ulockf.c | 119 fd = open(name, O_RDONLY);
|
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | script_handler.c | 140 if ((n = open("/dev/null", O_RDWR)) < 0)
|
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/ |
H A D | fsck.c | 106 if ((*fd = open(openMe, oflag)) < 0) {
|
/illumos-gate/usr/src/cmd/grep/ |
H A D | grep.c | 263 errmsg("grep: can't open %s\n", path); 282 errmsg("grep: can't open %s\n", name); 320 } else if ((temp = open(file + base, O_RDONLY)) == -1) { 322 errmsg("grep: can't open %s\n", file);
|
/illumos-gate/usr/src/cmd/hal/probing/xkb/ |
H A D | probe-xkb.c | 93 if ((fd = open(device_file, O_RDONLY | O_NONBLOCK)) < 0) { 94 HAL_DEBUG(("Cannot open %s: %s", device_file, strerror(errno)));
|
/illumos-gate/usr/src/cmd/ipf/lib/common/ |
H A D | ipft_pc.c | 110 else if ((fd = open(fname, O_RDONLY)) == -1)
|
/illumos-gate/usr/src/cmd/isainfo/ |
H A D | isainfo.c | 265 * but we only complain if we can't open it if we've been 269 (d = open(dev_cpu_self_cpuid, O_RDONLY)) == -1)
|
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | main.c | 296 i = open("/dev/null", O_RDWR);
|
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | keylogin.c | 133 if ((rootfd = open(ROOTKEY_FILE, O_WRONLY+O_CREAT, 0600)) < 0) { 134 perror("Could not open /etc/.rootkey for writing"); 141 perror("Could not open /etc/.rootkey for writing"); 150 perror("Could not open /etc/.rootkey.bak for reading");
|
H A D | update.c | 267 wfd = open(tmpname, O_CREAT|O_RDWR|O_TRUNC,
|
/illumos-gate/usr/src/cmd/sgs/link_audit/common/ |
H A D | perfcnt.c | 117 if ((fd = open(buffer, O_RDWR)) >= 0) {
|
/illumos-gate/usr/src/cmd/sunpc/other/ |
H A D | dos2unix.c | 164 case IN_FILE: /* open in file from cmdline */ 169 case OUT_FILE: /* open out file from cmdline */ 187 error("Couldn't open input file %s.", in_file_name); 209 error("Couldn't open output file %s.", out_file_name); 227 if ((kbdfd = open("/dev/kbd", O_WRONLY)) < 0) { 228 fprintf(stderr, "could not open /dev/kbd to "
|
H A D | unix2dos.c | 169 case IN_FILE: /* open in file from cmdline */ 174 case OUT_FILE: /* open out file from cmdline */ 190 error("Couldn't open input file %s.", in_file_name); 212 error("Couldn't open output file %s.", out_file_name); 232 if ((kbdfd = open("/dev/kbd", O_WRONLY)) < 0) { 234 "could not open /dev/kbd to get "
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | contract.c | 92 if ((psfd = open("/proc/self/psinfo", O_RDONLY)) < 0) { 93 log_error(LOG_WARNING, "Can not open /proc/self/psinfo; unable " 111 log_error(LOG_WARNING, "Can not open containing contract " 160 log_error(LOG_WARNING, "Can not open contract %ld ctl " 168 log_error(LOG_WARNING, "Can not open contract %ld "
|
H A D | wait.c | 182 * time we are called, we must handle the error cases from open(2) 217 if ((fd = open(fname, O_RDONLY)) == -1) { 227 "open %s failed; not monitoring %s: %s\n", fname,
|
/illumos-gate/usr/src/cmd/ldapcachemgr/ |
H A D | cachemgr.c | 982 * we don't really want to try and open the log file 994 open(logfile, O_EXCL|O_WRONLY|O_CREAT, 0644)) < 0) { 1005 logit("Cannot open new logfile \"%s\": %sn", 1013 open(logfile, 1015 logit("Cannot open new logfile " 1338 if (open("/dev/null", O_RDWR, 0) != -1) { 1416 * the first time in we try and open and validate the door. 1430 if ((doorfd = open(NAME_SERVICE_DOOR, O_RDONLY, 0))
|
/illumos-gate/usr/src/cmd/lms/heci/ |
H A D | HECIUnix.cpp | 121 _fd = open("/dev/heci", O_RDWR);
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgserv/ |
H A D | pkgserv.c | 365 fd = open("/dev/null", O_RDWR, 0); 740 cnt = open(CONTENTS, O_RDONLY); 854 logfd = open(PKGLOG, O_RDONLY); 1142 int fd = open(lock, O_RDWR|O_CREAT, 0644);
|
/illumos-gate/usr/src/cmd/tic/ |
H A D | tic_read.c | 145 fd = open(filename, 0);
|
/illumos-gate/usr/src/cmd/tnf/tnfdump/ |
H A D | main.c | 137 if ((fd = open(path, O_RDONLY, 0777)) == -1) { 138 (void) fprintf(stderr, gettext("%s: cannot open %s\n"),
|