Searched refs:open (Results 451 - 475 of 1624) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/cmd/ypcmd/shared/
H A Dlockmap.c43 * dbm files while ypserv is trying to open them. After ypserv has
175 * Try to open the file. If file doesn't exist, or size is too small,
185 lockfile = open(LOCKFILE, O_RDWR|O_CREAT, 0600);
225 "open(%s) => errno=%d", LOCKFILE, errno);
230 * File exists with correct size, is open, and we're holding
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypxfrd_svc.c247 i = open("/dev/null", 2);
/illumos-gate/usr/src/grub/grub-0.97/docs/
H A Dhelp2man101 die "$this_program: can't open `$inc' ($!)\n"
102 unless open INC, $inc;
180 open STDOUT, ">$opt_output"
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/grover/envd/
H A Dpiclenvd.c100 #include <sys/open.h>
412 fd = open(path, O_RDWR);
468 sensorp->fd = open(path, O_RDWR);
968 * Setup temperature sensors and fail if we can't open
999 pm_fd = open(PM_DEVICE, O_RDONLY);
/illumos-gate/usr/src/cmd/print/printer-info/
H A Dprinter-info.c55 /* open the device */
56 if ((fd = open(path, O_RDWR)) < 0)
/illumos-gate/usr/src/cmd/prstat/
H A Dprfile.c134 again: fd = open(name, flags);
/illumos-gate/usr/src/cmd/rcap/rcapd/
H A Drcapd_rfd.c113 * Next try psinfo descriptors, leaving at least one open. Revoke the
146 * callback. Returns as open does. The callback should reset any state that
147 * this caller establishes after the open, but should not close the descriptor,
158 while ((fd = open(name, oflag, mode)) == -1 && (errno == ENFILE ||
/illumos-gate/usr/src/cmd/refer/
H A Dinv1.c85 if (open(argv[2], 0) != 0)
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Drwho.c109 f = open(dp->d_name, 0);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/
H A Ddoor.c190 fd = open(doorname,
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/
H A Dprocess.c200 if ((tfd = open(dev, O_WRONLY|O_NOCTTY)) == -1) {
/illumos-gate/usr/src/cmd/cron/
H A Dfuncs.c162 if ((msgfd = open(FIFO, O_WRONLY|O_NDELAY)) < 0) {
169 "error in message queue open\n"));
/illumos-gate/usr/src/cmd/cvcd/sparc/sun4u/starfire/
H A Dcvcd.c149 if ((cvcd_ssp = open(SSPHOSTNAMEFILE, O_RDONLY)) < 0) {
210 if ((nfd = open(NODENAME, O_RDONLY)) > 0) {
245 cvcd_err(LOG_ERR, "open(SSPHOSTNAMEFILE):%s",
405 rconsfd = open(CVCREDIR_DEV, O_RDWR|O_NDELAY);
407 cvcd_err(LOG_ERR, "open: %s", strerror(errno));
451 * Re-open the cvcredir driver if
457 rconsfd = open(CVCREDIR_DEV,
461 "open: %s",
/illumos-gate/usr/src/cmd/dd/
H A Ddd.c833 ibf = open(ifile, 0);
844 perror("open");
854 obf = open(ofile, (O_WRONLY|O_CREAT|oflag),
858 obf = open(ofile, O_WRONLY|O_CREAT|oflag,
863 perror("open");
876 obf = open(ofile, O_WRONLY|O_CREAT|O_TRUNC|oflag,
888 perror("open");
/illumos-gate/usr/src/cmd/devinfo/
H A Ddevinfo.c101 if ((fd = open(device, O_RDONLY)) < 0) {
/illumos-gate/usr/src/cmd/lvm/rpc.metamhd/
H A Dmhd_failfast.c54 /* ignore not open */
70 * open failfast
86 /* open if not already */
88 ((sp->sr_ff = open("/dev/ff", O_RDWR, 0)) < 0)) {
143 /* ignore not open */
/illumos-gate/usr/src/cmd/mailx/
H A Dedit.c134 if ((fd = open(tempZedit, O_RDWR|O_CREAT|
/illumos-gate/usr/src/cmd/mdb/tools/findfp/sparc/
H A Dfindfp.c115 if ((fd = open(filename, O_RDONLY)) < 0)
116 die("failed to open %s", filename);
120 elfdie("failed to open %s as ELF", filename);
/illumos-gate/usr/src/cmd/mkfile/
H A Dmkfile.c133 fd = open(argv[1], O_CREAT|O_TRUNC|O_RDWR, FILE_MODE);
137 gettext("Could not open %s: %s\n"),
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_door.c131 if ((door = open(NDMP_DOOR_SVC, O_RDONLY)) < 0)
/illumos-gate/usr/src/cmd/eeprom/i386/
H A Dbenv_kvm.c246 if ((prom_fd = open(promdev, O_RDONLY)) < 0) {
247 exit(_error(PERROR, "prom open failed"));
/illumos-gate/usr/src/cmd/fm/schemes/mem/
H A Dmem_read.c155 if ((fd = open(device, O_RDONLY)) < 0)
/illumos-gate/usr/src/cmd/saf/
H A Dsac.c199 Sfd = open("_sacpipe", O_RDWR);
245 sp->sc_fd = open(Scratch, O_RDWR);
257 "Could not open _pmpipe for port monitor <%s>",
399 sp->sc_fd = open(Scratch, O_RDWR);
402 "Could not open _pmpipe for port monitor <%s>, errno is %d",
1103 fd = open(CMDPIPE, O_RDWR | O_CREAT, 0600);
/illumos-gate/usr/src/cmd/sgs/libelf/demo/
H A Dtpcom.c225 if ((fd = open(elf_fname, O_RDONLY)) == -1) {
226 perror("open");
231 * Attempt to open an Elf descriptor Read/Write
/illumos-gate/usr/src/cmd/avs/nsctl/
H A Dnskernd.c591 if ((fd = open(path, O_RDONLY)) < 0) {
634 fd = open(rdev, O_RDONLY);
834 (void) open("/dev/console", O_WRONLY|O_APPEND);
851 * Increase the number of fd's that can be open.
861 gettext("nskernd: the maximum number of nsctl open "
869 nsctl_fd = open(rdev, O_RDONLY);
871 (void) fprintf(stderr, gettext("nskernd: unable to open %s\n"),

Completed in 148 milliseconds

<<11121314151617181920>>