Searched refs:open (Results 201 - 225 of 1624) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/bnu/
H A Dlogent.c106 _Sf = open(SYSLOG, 1);
139 fd = open(CMDLOG, O_WRONLY | O_APPEND);
/illumos-gate/usr/src/cmd/gss/gssd/
H A Dgssd.c251 if (open("/dev/null", O_RDONLY) < 0 ||
252 open("/dev/null", O_WRONLY) < 0 || dup(1) < 0 ||
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipfs.c128 fd = open(fname, O_RDWR);
130 perror("open");
185 fd = open(fname, O_RDWR);
187 perror("open");
367 if ((fd = open(ipfdev, O_RDWR)) == -1)
368 if ((fd = open(ipfdev, O_RDONLY)) == -1)
369 perror("open device");
415 wfd = open(file, O_WRONLY|O_TRUNC|O_CREAT, 0600);
418 perror("state:open");
467 sfd = open(fil
[all...]
/illumos-gate/usr/src/cmd/krb5/kwarn/
H A Dkwarnd.c255 * Close existing file descriptors, open "/dev/null" as
260 (void) open("/dev/null", O_RDONLY);
261 (void) open("/dev/null", O_WRONLY);
/illumos-gate/usr/src/cmd/tcopy/
H A Dtcopy.c82 if ((inp = open(inf, O_RDONLY, 0666)) < 0) {
83 (void) fprintf(stderr, "Can't open %s\n", inf);
87 if ((outp = open(outf, O_WRONLY, 0666)) < 0) {
88 (void) fprintf(stderr, "Can't open %s\n", outf);
/illumos-gate/usr/src/cmd/tip/aculib/
H A Dv831.c39 if ((AC = open(acu, O_RDWR)) < 0) {
43 (void) printf("acu open error...");
65 * open line - will return on carrier
67 if ((FD = open(DV, O_RDWR)) < 0) {
69 (void) printf("(after open, errno=%d)\n", errno);
74 (void) printf("dialup line open failed...");
/illumos-gate/usr/src/cmd/ttymon/
H A Dtmutil.c208 if ((fd = open(USERDEV, O_RDWR)) == -1) {
213 log("open /dev/sad/user failed: %s", strerror(errno));
260 if ((fd = open(CONSOLE, O_WRONLY|O_NOCTTY)) != -1)
/illumos-gate/usr/src/tools/install.bin/
H A Dinstall.bin.c68 if ((src_fd = open(src_file, O_RDONLY)) == -1) {
74 if ((dest_fd = open(dest_file, O_CREAT|O_WRONLY|O_TRUNC, 0755)) == -1) {
/illumos-gate/usr/src/lib/krb5/ss/
H A Dhelp.c71 if ((fd = open(&buffer[0], O_RDONLY)) >= 0) goto got_it;
73 if ((fd = open(&buffer[0], O_RDONLY)) < 0) {
/illumos-gate/usr/src/test/zfs-tests/cmd/mkholes/
H A Dmkholes.c68 if ((rand_fd = open("/dev/urandom", O_RDONLY)) < 0) {
69 perror("open /dev/urandom failed");
140 if ((fd = open(fname, O_LARGEFILE | O_RDWR | O_CREAT | O_SYNC,
142 perror("open failed");
/illumos-gate/usr/src/tools/scripts/
H A Dcddlchk.py50 fh = open(exfile, 'r')
52 sys.stderr.write('Failed to open exception list: '
94 fh = open(filename, 'r')
96 sys.stderr.write("failed to open '%s': %s\n" %
H A Dmapfilechk.py50 fh = open(exfile, 'r')
52 sys.stderr.write('Failed to open exception list: '
93 fh = open(filename, 'r')
95 sys.stderr.write("failed to open '%s': %s\n" %
/illumos-gate/usr/src/lib/libc/port/sys/
H A Depoll.c82 if ((fd = open("/dev/poll", O_RDWR)) == -1)
108 if ((fd = open("/dev/poll", oflags)) == -1)
/illumos-gate/usr/src/lib/efcode/fcdriver/
H A Dfcdebug.c85 cdp->fcode_fd = open("/dev/fcode", O_RDONLY);
93 forth_abort(env, "Can't open /dev/fcode\n");
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_trace.c98 fd = open(val, O_WRONLY | O_CREAT, 0644);
/illumos-gate/usr/src/lib/libcryptoutil/common/
H A Dkeyfile.c59 if ((fd = open(filename, O_RDONLY | O_NONBLOCK)) == -1) {
61 cryptoerror(LOG_STDERR, gettext("cannot open %s"), filename);
/illumos-gate/usr/src/lib/libdscfg/common/
H A Dcfg_impl.h215 cfp_t *(*open)(cfp_t *, char *); /* Open device */ member in struct:cfg_io_s
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DConsumer.java49 * Optional flags passed to {@link #open(Consumer.OpenFlag[] flags)
50 * open()}.
72 * <pre> {@code consumer.open();}</pre>
76 * @throws NullPointerException if any of the given open flags is
89 public void open(OpenFlag ... flags) throws DTraceException; method in interface:Consumer
111 * #open(OpenFlag[] flags) open()} or after {@link #go()}, or if the
140 * #open(OpenFlag[] flags) open()} or after {@link #go()}, or if the
228 * #open(OpenFla
[all...]
/illumos-gate/usr/src/lib/libsqlite/tool/
H A Dshowdb.c52 db = open(argv[1], O_RDONLY);
54 fprintf(stderr,"%s: can't open %s\n", argv[0], argv[1]);
H A Dshowjournal.c55 db = open(argv[1], O_RDONLY);
57 fprintf(stderr,"%s: can't open %s\n", argv[0], argv[1]);
/illumos-gate/usr/src/lib/libnsl/nsl/
H A Dt_open.c83 if ((fd = open(path, flags)) < 0) {
140 * and that open/close doesn't have side effects. _t_create may fail
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dldpart.c70 if ((fd = open(filename, O_RDONLY)) < 0)
/illumos-gate/usr/src/lib/libc/port/stdio/
H A D_endopen.c52 * open UNIX file name, associate with iop
112 /* select small or large file open based on flag */
116 fd = open(name, oflag, 0666);
/illumos-gate/usr/src/lib/libmail/common/
H A Dmaillock.c133 fd = open(tempfile, O_RDWR|O_CREAT|O_EXCL, 0600);
/illumos-gate/usr/src/cmd/refer/
H A Dglue4.c58 if (open(argig, 0) != 0)

Completed in 170 milliseconds

1234567891011>>