/illumos-gate/usr/src/cmd/fs.d/hsfs/labelit/ |
H A D | labelit.c | 151 /* open image file in read write only if necessary */ 155 if ((cdfd = open(argv[c], openopt)) < 0) { 160 sprintf(errstrng, "%s: main: open(): ", callname);
|
/illumos-gate/usr/src/cmd/rmt/ |
H A D | rmt.c | 442 tape = open(device, O_LARGEFILE |
|
/illumos-gate/usr/src/cmd/saf/ |
H A D | misc.c | 567 fd = open(Scratch, O_RDONLY); 569 (void) sprintf(Scratch, "can not open _pid file for <%s>", sp->sc_tag);
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | bf.c | 71 # define OPEN(fn, omode, cmode, sff) open(fn, omode, cmode) 85 ** SM_BFOPEN -- the "base" open function called by sm_io_open() for the 89 ** fp -- file pointer being filled-in for file being open'd 256 ** SM_BFGETINFO -- returns info about an open file pointer 668 ** any value of errno specified by open() 688 /* Do we need to open a file? */ 720 /* errno is set implicitly by open() */ 816 ** SM_BFSETINFO -- set/change info for an open file pointer
|
H A D | conf.c | 245 int DtableSize = 50; /* max open files; reset in 4.2bsd */ 474 #define MAPDEF(name, ext, flags, parse, open, close, lookup, store) \ 477 extern bool open __P((MAP *, int)); \ 486 s->s_mapclass.map_open = open; \ 1504 kmem = open(_PATH_KMEM, 0, 0); 1508 sm_dprintf("getla: open(/dev/kmem): %s\n", 1589 kmem = open("/dev/kmem", 0, 0); 1593 sm_dprintf("getla: open(/dev/kmem): %s\n", 1827 kmem = open(_PATH_KMEM, 0, 0); 1831 sm_dprintf("getla: open( [all...] |
/illumos-gate/usr/src/cmd/sgs/elfwrap/common/ |
H A D | elfwrap.c | 100 if ((fd = open(file, O_RDONLY)) == -1) {
|
/illumos-gate/usr/src/cmd/sgs/ldd/common/ |
H A D | ldd.c | 350 if ((var = open(fname, O_RDONLY)) == -1) {
|
/illumos-gate/usr/src/cmd/sgs/lex/common/ |
H A D | sub1.c | 197 error("Can't open %s", fname); 651 error("Cannot open file -- %s",
|
/illumos-gate/usr/src/cmd/amt/ |
H A D | amt.c | 716 if ((d = open(path, O_RDONLY)) < 0) { 718 "cannot open: %s -- %s\n",
|
/illumos-gate/usr/src/cmd/avs/dsw/ |
H A D | iiboot.c | 155 if ((ioctl_fd = open(DSWDEV, O_RDWR, 0)) == -1) { 156 spcs_log("ii", NULL, "iiboot open %s failed, errno %d", 159 gettext("Failed to open Point-in-Time Copy control " 333 iiboot_err(NULL, gettext("Failed to open dscfg")); 405 iiboot_err(NULL, gettext("Failed to open dscfg"));
|
/illumos-gate/usr/src/cmd/backup/restore/ |
H A D | interactive.c | 781 perror(gettext("could not open pipe to pager"));
|
/illumos-gate/usr/src/cmd/bart/ |
H A D | create.c | 471 fd = open(fname, O_RDONLY|O_LARGEFILE);
|
/illumos-gate/usr/src/cmd/biosdev/ |
H A D | biosdev.c | 521 fd = open(diskpath, O_RDONLY);
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | perfstat.c | 130 * and time to open files. It is only recorded on the master. 230 static char Msg_badopen[] = "failed to open %s. Errno=%%d\n"; 231 static char Msg_opening[] = "attempting to open %s\n"; 608 * After insuring that the log file is open, this function will write 899 * Attempt to open the log file. If we can't do it, then we 982 * If the log file is already open this function immediately returns 983 * success. Otherwise, an attempt is made to open the logfile in append 993 * SUCCESS - The log file is open. 994 * FAIL - Unable to open logfile. 1007 /* See if file already open [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/chat/ |
H A D | chat.c | 416 fatal(1, "%s -- open failed: %m", chat_file); 1170 /* open the file and read until STR_LEN-1 bytes or end-of-file */ 1173 fatal(1, "%s -- open failed: %m", fn);
|
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsmapid/ |
H A D | nfsmapid_test.c | 308 if ((doorfd = open(NFSMAPID_DOOR, O_RDWR)) == -1) {
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | main.c | 664 fswritefd = open(devstr, O_RDWR, 0);
|
/illumos-gate/usr/src/cmd/hal/tools/ |
H A D | hal-storage-shared.c | 323 unknown_error ("Cannot open /media/.hal-mtab"); 637 lock_mtab_fd = open ("/media/.hal-mtab-lock", O_CREAT | O_RDWR);
|
/illumos-gate/usr/src/cmd/sgs/librtld_db/demo/common/ |
H A D | maps.c | 235 filefd = open(procname, O_RDONLY);
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | cache_a.out.c | 173 * Try to open directory. Failing that, just return silently. 175 if ((fd = open(ds, O_RDONLY)) == -1) 181 * for the first directory we open successfully.
|
H A D | config_elf.c | 262 * If we can't open the configuration file return silently. 264 if ((fd = open(str, O_RDONLY, 0)) == -1)
|
/illumos-gate/usr/src/cmd/sgs/rtld.4.x/ |
H A D | rtld.4.x.c | 378 if ((fd = open(ldso, O_RDONLY)) == -1) 379 panic("unable to open %s", ldso);
|
/illumos-gate/usr/src/cmd/sort/common/ |
H A D | streams.c | 196 * STREAM_ARRAY streams are open by definition. 222 fd = open(str->s_filename, O_RDONLY); 356 * pushes the new stream; the output stream is left open if ST_OPEN is set. 570 * LINES_ARRAY streams are always open.
|
H A D | streams_stdio.c | 58 if ((SF->s_fd = open(str->s_filename, O_CREAT | O_TRUNC |
|
/illumos-gate/usr/src/cmd/stat/common/ |
H A D | dsr.c | 299 /* open scsi_vhci if not already done */ 301 scsi_vhci_fd = open("/devices/scsi_vhci:devctl", O_RDONLY);
|