Searched refs:open (Results 226 - 250 of 1624) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/
H A Dpassprompt.c63 red = open("/etc/ppp/prompt-errors", O_WRONLY | O_APPEND | O_CREAT,
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/kssl/kssladm/
H A Dkssladm.c98 "Unable to open password file for reading");
141 ksslfd = open("/dev/kssl", O_RDWR);
143 perror("Cannot open /dev/kssl");
/illumos-gate/usr/src/cmd/mailx/
H A Dquit.c172 if ((fd = open(tempQuit, O_RDWR|O_CREAT|O_EXCL, 0600)) < 0 ||
197 if ((fd = open(mbox, O_RDWR|O_CREAT|O_TRUNC, MBOXPERM)) < 0 ||
206 if ((fd = open(mbox, O_RDWR|O_CREAT, MBOXPERM)) < 0 ||
299 fd = open(tempResid,O_RDWR|O_CREAT|O_EXCL, 0600);
/illumos-gate/usr/src/cmd/dumpadm/
H A Dminfree.c49 if ((fd = open(path, oflags, S_IRUSR | S_IWUSR)) >= 0)
/illumos-gate/usr/src/cmd/rpcsvc/
H A Drstat_main.c125 i = open("/dev/console", 2);
/illumos-gate/usr/src/cmd/saf/
H A Dlog.c69 if ((fd = open("/dev/console", O_WRONLY|O_NOCTTY)) != -1)
75 * openlog - open log file, sets global file pointer Lfp
82 cons_printf("SAC: could not open logfile %s: %s\n",
144 * opendebug - open debugging file, sets global file pointer Dfp
154 cons_printf("SAC: could not open debugfile %s: %s\n",
/illumos-gate/usr/src/cmd/sdpadm/
H A Dsdpadm.c110 fd = open(dcname, O_RDONLY);
/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_open.c134 __db_jump.j_open(name, flags, mode) : open(name, flags, mode);
/illumos-gate/usr/src/cmd/audio/utilities/
H A Dzmalloc.c110 if ((fd = open("/dev/zero", O_RDWR)) < 0) {
/illumos-gate/usr/src/cmd/avs/sv/
H A Dsvboot.c151 fd = open(sv_rpath, O_RDONLY);
153 error(NULL, gettext("unable to open %s: %s"),
302 fd = open(sv_rpath, O_RDONLY);
304 warn(NULL, gettext("unable to open %s: %s"),
489 if ((fd = open(sv_rpath, O_RDONLY)) < 0) {
490 warn(NULL, gettext("unable to open %s: %s"),
520 if ((fd = open(sv_rpath, O_RDONLY)) < 0) {
521 warn(NULL, gettext("unable to open %s: %s"),
/illumos-gate/usr/src/cmd/boot/symdef/
H A Dsymdef.c76 fd = open(argv[1], O_RDONLY);
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dclass_id.c63 * input: int: an open descriptor to /dev/openprom
80 * input: int: an open descriptor to /dev/openprom
166 prom_fd = open("/dev/openprom", O_RDONLY);
/illumos-gate/usr/src/cmd/fs.d/smbclnt/lsacl/
H A Dlsacl.c104 fd = open(file, O_RDONLY, 0);
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dipft_ef.c57 efd = open(fname, O_RDONLY);
/illumos-gate/usr/src/cmd/sgs/librtld_db/demo/common/
H A Dps.c79 if ((pauxvfd = open(pname, O_RDONLY)) == -1)
80 perr("open auxv");
140 if ((procp->pp_mapfd = open(procname, O_RDONLY)) == -1)
141 perr("psi: open of /proc/dpid/map failed");
145 if ((procp->pp_asfd = open(procname, O_RDWR)) == -1)
146 perr("psi: open of /proc/dpid/as failed");
327 if ((lwpfd = open(procname, O_RDONLY)) == -1)
350 * Unable to open log file - default to stderr.
352 (void) fprintf(stderr, "unable to open %s, logging "
/illumos-gate/usr/src/cmd/streams/log/
H A Dstrclean.c126 if ((fd = open("/dev/log", O_RDWR)) >= 0) {
/illumos-gate/usr/src/cmd/krb5/kwarn/
H A Dkwarnd_clnt_stubs.c38 #include <sys/open.h>
/illumos-gate/usr/src/cmd/lastcomm/
H A Dlc_pacct.c49 if ((fd = open(name, O_RDONLY)) < 0) {
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Docfile.c73 #define ERR_NOTMPOPEN "unable to open temporary contents file image"
80 #define ERR_NOROPEN "unable to open <%s> for reading"
81 #define ERR_NOOPEN "unable to open <%s> for writing"
92 #define ERR_OPLOCK "unable to open lock file <%s>."
172 n = open(tmpcf, O_WRONLY|O_CREAT|O_TRUNC|O_EXCL, 0644);
317 * open the temporary contents file without a path name - this causes
336 * size of the in-memory buffer associated with the open vfp.
358 /* set return ->s to open server/vfps */
367 * This is a simple open and lock of the contents file. It doesn't create a
411 * open th
[all...]
H A Dscriptvfy.l348 printf("open awk statment, line %d\n", line_no);
803 printf("ERROR: found a bug: variable still open\n");
/illumos-gate/usr/src/uts/common/io/drm/
H A Ddrm_sunmod.h66 #include <sys/open.h>
111 * thus there will be a minor node for every open(2) operation. Here we give
/illumos-gate/usr/src/stand/sys/
H A Dbootvfs.h73 extern int open(const char *filename, int flags);
/illumos-gate/usr/src/test/zfs-tests/cmd/readmmap/
H A Dreadmmap.c74 fd = open(filename, O_RDWR|O_CREAT|O_TRUNC, 0666);
76 perror("open to create");
/illumos-gate/usr/src/lib/libast/common/misc/
H A Dsetenviron.c84 close(open(".", O_RDONLY));
/illumos-gate/usr/src/lib/libast/common/port/
H A Dastwinsize.c132 if ((fd = open("/dev/tty", O_RDONLY)) >= 0)

Completed in 171 milliseconds

1234567891011>>