/illumos-gate/usr/src/cmd/bnu/ |
H A D | logent.c | 106 _Sf = open(SYSLOG, 1); 139 fd = open(CMDLOG, O_WRONLY | O_APPEND);
|
/illumos-gate/usr/src/cmd/gss/gssd/ |
H A D | gssd.c | 251 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 D | ipfs.c | 128 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 D | kwarnd.c | 255 * 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 D | tcopy.c | 82 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 D | v831.c | 39 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 D | tmutil.c | 208 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 D | install.bin.c | 68 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 D | help.c | 71 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 D | mkholes.c | 68 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 D | cddlchk.py | 50 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 D | mapfilechk.py | 50 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 D | epoll.c | 82 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 D | fcdebug.c | 85 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 D | ns_trace.c | 98 fd = open(val, O_WRONLY | O_CREAT, 0644);
|
/illumos-gate/usr/src/lib/libcryptoutil/common/ |
H A D | keyfile.c | 59 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 D | cfg_impl.h | 215 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 D | Consumer.java | 49 * 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 D | showdb.c | 52 db = open(argv[1], O_RDONLY); 54 fprintf(stderr,"%s: can't open %s\n", argv[0], argv[1]);
|
H A D | showjournal.c | 55 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 D | t_open.c | 83 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 D | ldpart.c | 70 if ((fd = open(filename, O_RDONLY)) < 0)
|
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | _endopen.c | 52 * 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 D | maillock.c | 133 fd = open(tempfile, O_RDWR|O_CREAT|O_EXCL, 0600);
|
/illumos-gate/usr/src/cmd/refer/ |
H A D | glue4.c | 58 if (open(argig, 0) != 0)
|