/illumos-gate/usr/src/cmd/ypcmd/shared/ |
H A D | lockmap.c | 43 * 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 D | ypxfrd_svc.c | 247 i = open("/dev/null", 2);
|
/illumos-gate/usr/src/grub/grub-0.97/docs/ |
H A D | help2man | 101 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 D | piclenvd.c | 100 #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 D | printer-info.c | 55 /* open the device */ 56 if ((fd = open(path, O_RDWR)) < 0)
|
/illumos-gate/usr/src/cmd/prstat/ |
H A D | prfile.c | 134 again: fd = open(name, flags);
|
/illumos-gate/usr/src/cmd/rcap/rcapd/ |
H A D | rcapd_rfd.c | 113 * 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 D | inv1.c | 85 if (open(argv[2], 0) != 0)
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ |
H A D | rwho.c | 109 f = open(dp->d_name, 0);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/ |
H A D | door.c | 190 fd = open(doorname,
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/ |
H A D | process.c | 200 if ((tfd = open(dev, O_WRONLY|O_NOCTTY)) == -1) {
|
/illumos-gate/usr/src/cmd/cron/ |
H A D | funcs.c | 162 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 D | cvcd.c | 149 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 D | dd.c | 833 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 D | devinfo.c | 101 if ((fd = open(device, O_RDONLY)) < 0) {
|
/illumos-gate/usr/src/cmd/lvm/rpc.metamhd/ |
H A D | mhd_failfast.c | 54 /* 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 D | edit.c | 134 if ((fd = open(tempZedit, O_RDWR|O_CREAT|
|
/illumos-gate/usr/src/cmd/mdb/tools/findfp/sparc/ |
H A D | findfp.c | 115 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 D | mkfile.c | 133 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 D | ndmpd_door.c | 131 if ((door = open(NDMP_DOOR_SVC, O_RDONLY)) < 0)
|
/illumos-gate/usr/src/cmd/eeprom/i386/ |
H A D | benv_kvm.c | 246 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 D | mem_read.c | 155 if ((fd = open(device, O_RDONLY)) < 0)
|
/illumos-gate/usr/src/cmd/saf/ |
H A D | sac.c | 199 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 D | tpcom.c | 225 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 D | nskernd.c | 591 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"),
|