Searched refs:open (Results 951 - 975 of 1624) sorted by relevance

<<31323334353637383940>>

/illumos-gate/usr/src/cmd/fs.d/hsfs/labelit/
H A Dlabelit.c151 /* 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 Drmt.c442 tape = open(device, O_LARGEFILE |
/illumos-gate/usr/src/cmd/saf/
H A Dmisc.c567 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 Dbf.c71 # 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 Dconf.c245 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 Delfwrap.c100 if ((fd = open(file, O_RDONLY)) == -1) {
/illumos-gate/usr/src/cmd/sgs/ldd/common/
H A Dldd.c350 if ((var = open(fname, O_RDONLY)) == -1) {
/illumos-gate/usr/src/cmd/sgs/lex/common/
H A Dsub1.c197 error("Can't open %s", fname);
651 error("Cannot open file -- %s",
/illumos-gate/usr/src/cmd/amt/
H A Damt.c716 if ((d = open(path, O_RDONLY)) < 0) {
718 "cannot open: %s -- %s\n",
/illumos-gate/usr/src/cmd/avs/dsw/
H A Diiboot.c155 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 Dinteractive.c781 perror(gettext("could not open pipe to pager"));
/illumos-gate/usr/src/cmd/bart/
H A Dcreate.c471 fd = open(fname, O_RDONLY|O_LARGEFILE);
/illumos-gate/usr/src/cmd/biosdev/
H A Dbiosdev.c521 fd = open(diskpath, O_RDONLY);
/illumos-gate/usr/src/cmd/bnu/
H A Dperfstat.c130 * 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 Dchat.c416 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 Dnfsmapid_test.c308 if ((doorfd = open(NFSMAPID_DOOR, O_RDWR)) == -1) {
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dmain.c664 fswritefd = open(devstr, O_RDWR, 0);
/illumos-gate/usr/src/cmd/hal/tools/
H A Dhal-storage-shared.c323 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 Dmaps.c235 filefd = open(procname, O_RDONLY);
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dcache_a.out.c173 * 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 Dconfig_elf.c262 * 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 Drtld.4.x.c378 if ((fd = open(ldso, O_RDONLY)) == -1)
379 panic("unable to open %s", ldso);
/illumos-gate/usr/src/cmd/sort/common/
H A Dstreams.c196 * 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 Dstreams_stdio.c58 if ((SF->s_fd = open(str->s_filename, O_CREAT | O_TRUNC |
/illumos-gate/usr/src/cmd/stat/common/
H A Ddsr.c299 /* open scsi_vhci if not already done */
301 scsi_vhci_fd = open("/devices/scsi_vhci:devctl", O_RDONLY);

Completed in 184 milliseconds

<<31323334353637383940>>