Searched refs:open (Results 676 - 700 of 1624) sorted by relevance

<<21222324252627282930>>

/illumos-gate/usr/src/cmd/audio/utilities/
H A Ddevice_ctl.c174 cp = &prinfo->open; break;
/illumos-gate/usr/src/cmd/avs/dsw/
H A Diicpbmp.c134 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 Diicpshd.c97 /* 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 Ddumpmain.c692 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 Dsecurity.c151 LogFile = open(LogName, O_WRONLY | O_APPEND);
H A Dulockf.c119 fd = open(name, O_RDONLY);
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dscript_handler.c140 if ((n = open("/dev/null", O_RDWR)) < 0)
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/
H A Dfsck.c106 if ((*fd = open(openMe, oflag)) < 0) {
/illumos-gate/usr/src/cmd/grep/
H A Dgrep.c263 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 Dprobe-xkb.c93 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 Dipft_pc.c110 else if ((fd = open(fname, O_RDONLY)) == -1)
/illumos-gate/usr/src/cmd/isainfo/
H A Disainfo.c265 * 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 Dmain.c296 i = open("/dev/null", O_RDWR);
/illumos-gate/usr/src/cmd/keyserv/
H A Dkeylogin.c133 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 Dupdate.c267 wfd = open(tmpname, O_CREAT|O_RDWR|O_TRUNC,
/illumos-gate/usr/src/cmd/sgs/link_audit/common/
H A Dperfcnt.c117 if ((fd = open(buffer, O_RDWR)) >= 0) {
/illumos-gate/usr/src/cmd/sunpc/other/
H A Ddos2unix.c164 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 Dunix2dos.c169 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 Dcontract.c92 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 Dwait.c182 * 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 Dcachemgr.c982 * 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 DHECIUnix.cpp121 _fd = open("/dev/heci", O_RDWR);
/illumos-gate/usr/src/cmd/svr4pkg/pkgserv/
H A Dpkgserv.c365 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 Dtic_read.c145 fd = open(filename, 0);
/illumos-gate/usr/src/cmd/tnf/tnfdump/
H A Dmain.c137 if ((fd = open(path, O_RDONLY, 0777)) == -1) {
138 (void) fprintf(stderr, gettext("%s: cannot open %s\n"),

Completed in 115 milliseconds

<<21222324252627282930>>