/illumos-gate/usr/src/cmd/fm/modules/common/fabric-xlate/ |
H A D | fabric-xlate.c | 63 fd = open(XMLTOPOFILE, O_RDWR | O_CREAT | O_EXCL, 0600); 72 fmd_hdl_debug(hdl, "Failed to open XML topo file\n");
|
/illumos-gate/usr/src/cmd/sgs/elfwrap/common/ |
H A D | main.c | 163 if ((fd = open(ofile, (O_RDWR | O_CREAT | O_TRUNC), 0666)) < 0) {
|
/illumos-gate/usr/src/cmd/sgs/ldprof/common/ |
H A D | profile.c | 134 if ((fd = open(MSG_ORIG(MSG_FMT_PROCSELF), O_RDONLY)) < 0) 201 if ((fd = open(Profile, (O_RDWR | O_CREAT), 0666)) == -1) { 504 fd = open(Profile, O_RDWR, 0); 562 fd = open(Profile, O_RDWR, 0);
|
/illumos-gate/usr/src/cmd/sgs/libelf/demo/ |
H A D | acom.c | 29 * modify a ELF file. This program will open an ELF file and 187 if ((fd = open(elf_fname, O_RDWR)) == -1) { 188 perror("open"); 193 * Attempt to open an Elf descriptor Read/Write
|
H A D | pcom.c | 29 * read an ELF file. pcom will open an ELF file using 185 if ((fd = open(elf_fname, O_RDONLY)) == -1) { 186 perror("open"); 191 * Attempt to open an Elf descriptor Read/Write
|
/illumos-gate/usr/src/cmd/sgs/libelf/misc/ |
H A D | nlist.c | 140 if ((fd = open(name, 0)) < 0)
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | dkdial.c | 112 ** Do an alarm protected open of the dial device 117 if ((fd = open(dial_dev, O_RDWR)) < 0) { 120 fprintf(stderr, "dkdial: Can't open %s\n", dial_dev);
|
/illumos-gate/usr/src/cmd/cmd-crypto/cryptoadm/ |
H A D | adm_kef_ioctl.c | 266 if ((fd = open(ADMIN_IOCTL_DEVICE, O_RDONLY)) == -1) { 267 cryptoerror(LOG_STDERR, gettext("failed to open %s: %s"), 348 if ((fd = open(ADMIN_IOCTL_DEVICE, O_RDONLY)) == -1) { 349 cryptoerror(LOG_STDERR, gettext("failed to open %s: %s"), 462 if ((fd = open(ADMIN_IOCTL_DEVICE, O_RDONLY)) == -1) { 463 cryptoerror(LOG_STDERR, gettext("failed to open %s: %s"), 547 if ((fd = open(ADMIN_IOCTL_DEVICE, O_RDONLY)) == -1) { 548 cryptoerror(LOG_STDERR, gettext("failed to open %s: %s"),
|
/illumos-gate/usr/src/cmd/fs.d/smbclnt/smbutil/ |
H A D | print.c | 111 file = open(filename, O_RDONLY, 0); 113 smb_error("could not open file %s\n", errno, filename); 198 smb_error("could not open print job", error);
|
/illumos-gate/usr/src/cmd/ipf/lib/common/ |
H A D | ipft_hx.c | 40 tfd = open(fname, O_RDONLY);
|
H A D | ipft_sn.c | 65 else if ((fd = open(fname, O_RDONLY)) == -1)
|
H A D | ipft_td.c | 67 tfd = open(fname, O_RDONLY);
|
/illumos-gate/usr/src/cmd/sgs/size/common/ |
H A D | main.c | 90 * - an error message if it can't open an object file 187 if ((fd = open(argv[optind], O_RDONLY)) == -1) { 188 error(fname, "cannot open"); 194 /* error(fname, "cannot open"); */
|
/illumos-gate/usr/src/cmd/spell/ |
H A D | hashlook.c | 119 if (open(file, 0) != 0)
|
/illumos-gate/usr/src/cmd/svc/configd/ |
H A D | maindoor.c | 172 fd = open(doorpath, O_RDWR | O_CREAT | O_EXCL, 0644);
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | log.c | 282 (void) open("/dev/null", O_RDONLY); 287 fd = open(logfile, O_WRONLY|O_CREAT|O_APPEND, 307 if ((fd = open(path, O_RDONLY, 0644)) == -1) 338 fd = open(logfile, O_WRONLY|O_CREAT|O_APPEND, 345 log_error(LOG_NOTICE, "Could not log for %s: open(%s) " 686 log_error(LOG_WARNING, "can't open logfile %s/%s",
|
/illumos-gate/usr/src/cmd/ldap/common/ |
H A D | etest.c | 54 if (( sb.sb_sd = open( "lber-test", O_WRONLY|O_CREAT|O_TRUNC|O_BINARY )) 56 perror( "open" );
|
/illumos-gate/usr/src/cmd/tcpd/ |
H A D | safe_finger.c | 158 * are already open. All kinds of mysterious things will happen if that 164 if (fstat(i, &st) == -1 && open("/dev/null", 2) != i) 165 perror_exit("open /dev/null");
|
/illumos-gate/usr/src/cmd/tip/ |
H A D | tipout.c | 134 if ((fd = open(DV, O_RDWR)) >= 0) {
|
/illumos-gate/usr/src/cmd/tsol/plabel/ |
H A D | plabel.c | 154 if ((fd = open(procname, O_RDONLY)) < 0) {
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | ttymon.c | 194 Maxfiles = (int)ulimit(4, 0L); /* get max number of open files */ 210 log("max open files = %d", Maxfiles); 250 /* open the devices ttymon monitors */ 271 * open_all - open devices in pmtab if the entry is 359 if ((fd = open(pmptr->p_device, O_RDONLY|O_NONBLOCK|O_NOCTTY)) < 0) { 360 log("open (%s) failed: %s", pmptr->p_device, strerror(errno)); 373 * open_device(pmptr) - open the device 394 if ((fd = open(pmptr->p_device, O_RDWR)) == -1) 395 fatal("open (%s) failed: %s", pmptr->p_device, 405 if (pmptr->p_fd > 0) { /* file already open */ [all...] |
/illumos-gate/usr/src/tools/ctf/ctfstrip/ |
H A D | ctfstrip.c | 73 fd = open(filename, O_RDONLY); 75 warn("Unable to open %s", filename);
|
/illumos-gate/usr/src/tools/onbld/hgext/ |
H A D | cdm.py | 390 fh = open(f, 'r') 424 fh = open(f, 'r') 470 fh = open(f, 'r') 504 fh = open(f, 'r') 538 fh = open(f, 'r') 573 fh = open(f, 'r') 603 fh = open(f, 'r') 755 fh = open(f, 'r') 1124 fp = open(path)
|
/illumos-gate/usr/src/ucblib/libdbm/ |
H A D | dbm.c | 72 pagf = open(pagbuf, 2); 74 pagf = open(pagbuf, 0); 85 dirf = open(pagbuf, 2); 87 dirf = open(pagbuf, 0); 91 (void) printf("cannot open database %s\n", file);
|
/illumos-gate/usr/src/ucblib/libucb/port/stdio/ |
H A D | fopen.c | 77 fd = open64(file, oflag, 0666); /* mapped to open() for V9 */ 79 fd = open(file, oflag, 0666);
|