Searched refs:open (Results 101 - 125 of 784) sorted by relevance

1234567891011>>

/osnet-11/usr/src/lib/libast/common/comp/
H A Dsymlink.c48 if ((fd = open(b, O_CREAT|O_TRUNC|O_WRONLY, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)) < 0)
/osnet-11/usr/src/lib/libast/i386/include/ast/
H A Dast_fcntl.h132 #undef open macro
133 #define open open64 macro
/osnet-11/usr/src/lib/libast/i386/src/lib/libast/
H A Dast_fcntl.h111 #undef open macro
112 #define open open64 macro
/osnet-11/usr/src/lib/libast/sparc/include/ast/
H A Dast_fcntl.h132 #undef open macro
133 #define open open64 macro
/osnet-11/usr/src/lib/libast/sparc/src/lib/libast/
H A Dast_fcntl.h111 #undef open macro
112 #define open open64 macro
/osnet-11/usr/src/lib/libast/sparcv9/include/ast/
H A Dast_fcntl.h132 #undef open macro
133 #define open open64 macro
/osnet-11/usr/src/lib/libast/sparcv9/src/lib/libast/
H A Dast_fcntl.h111 #undef open macro
112 #define open open64 macro
/osnet-11/usr/src/lib/lvm/libmeta/common/
H A Dmeta_admin.c41 * open administrative device
50 /* if not already open */
55 if ((meta_fd = open(ADMSPECIAL, O_RDWR, 0)) < 0) {
60 if ((meta_fd = open(ADMSPECIAL, O_RDONLY, 0)) < 0)
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/io/
H A Dfs.t81 open(fh,'>x') || die "Can't create x";
83 open(fh,'>a') || die "Can't create a";
263 open IOFSCOM, ">Iofs.tmp" or die "Could not write IOfs.tmp: $!";
284 open(FH, ">Iofs.tmp") or die "Can't create Iofs.tmp";
288 # Check truncating an open file.
289 open(FH, ">>Iofs.tmp") or die "Can't open Iofs.tmp for appending";
303 close (FH); open (FH, ">>Iofs.tmp") or die "Can't reopen Iofs.tmp";
308 skip ("# TODO - hit VOS bug posix-973 - cannot resize an open file below the current file pos.", 5);
316 close (FH); open (F
[all...]
H A Dlayers.t111 open(F, ">:crlf", "afile");
115 "open :crlf");
183 use open(IN => ":crlf", OUT => ":encoding(cp1252)");
185 open F, "<afile";
186 open G, ">afile";
190 "use open IN");
194 "use open OUT");
H A Dnargv.t8 open(FH, "> $file") || die "can't create $file: $!";
/osnet-11/usr/src/lib/libdhcpagent/common/
H A Ddhcp_stable.c73 if ((fd = open(DUID_FILE, O_RDONLY)) == -1 &&
74 (fd = open(OLD_DUID_FILE, O_RDONLY)) == -1)
111 if ((fd = open(DUID_FILE, O_WRONLY | O_CREAT, 0644)) == -1)
201 if ((fd = open(IAID_FILE, O_RDONLY)) == -1)
227 if ((fd = open(IAID_FILE, O_RDWR | O_CREAT, 0644)) == -1)
271 if ((fd = open(IAID_FILE, O_RDONLY)) == -1 &&
272 (fd = open(OLD_IAID_FILE, O_RDONLY)) == -1)
/osnet-11/usr/src/cmd/perl/5.8.4/utils/port/
H A DMapFiles31 open($fh1, '<', $f1) || return (0);
32 open($fh2, '<', $f2) || return (0);
69 open($outfh, '>', $outf) || die("Can't open $outf: $!\n");
72 open($infh, '<', 'MANIFEST') || die("Can't open MANIFEST: $!\n");
88 open($infh, '<', 'build.touched') || die("Can't open build.touched: $!\n");
103 open($infh, '<', 'test.log') || die("Can't open tes
[all...]
H A DEditedFiles33 open($fh1, '<', $f1) || return (0);
34 open($fh2, '<', $f2) || return (0);
68 open($fh, '<', "$bld/patchlevel.h") || die("$bld is not a perl build dir\n");
90 open($fh, '<', $mapfile) || die("Can't open $mapfile: $!\n");
/osnet-11/usr/src/grub/grub2/util/
H A Dimport_gcry.py44 conf = codecs.open (os.path.join ("grub-core", "Makefile.gcry.def"), "w", "utf-8")
46 confutil = codecs.open ("Makefile.utilgcry.def", "w", "utf-8")
73 cryptolist = codecs.open (os.path.join (cipher_dir_out, "crypto.lst"), "w", "utf-8")
103 f = codecs.open (infile, "r", "utf-8")
104 fw = codecs.open (outfile, "w", "utf-8")
343 fw=codecs.open (outfile, "w", "utf-8")
350 fw=codecs.open (outfile, "w", "utf-8")
357 fw=codecs.open (outfile, "w", "utf-8")
364 fw=codecs.open (outfile, "w", "utf-8")
374 initfile = codecs.open (o
[all...]
/osnet-11/usr/src/lib/efcode/efdaemon/
H A Defdaemon.c79 * Ensure we can open /dev/fcode
81 if ((fd = open(dev_fcode_file, O_RDONLY)) < 0) {
88 syslog(LOG_ERR, "Can't open %s: %s\n", dev_fcode_file,
120 (void) open("/dev/null", O_RDWR);
125 while ((fd = open(dev_fcode_file, O_RDONLY)) < 0) {
128 syslog(LOG_ERR, "Can't open %s: %s\n",
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/cmd/
H A Dsubval.t115 open(FOO,">Cmd_subval.tmp");
132 open(F, 'Cmd_subval.tmp') || die "can't open: $!\n";
140 open(F, 'Cmd_subval.tmp') || die "test: can't open: $!\n";
159 open(F, 'Cmd_subval.tmp') || die "can't open: $!\n";
167 open(F, 'Cmd_subval.tmp') || die "can't open: $!\n";
/osnet-11/usr/src/lib/libpkg/common/
H A Dpkgexecv.c84 * because open files are passed across to certain commands using
87 * represent open file descriptors passed through this interface!
169 * adjust interrupts and open files as a prelude to a
352 n = open(filein, O_RDONLY);
362 n = open(filein, O_RDONLY);
387 n = open(fileout, O_WRONLY);
407 n = open(fileout, O_WRONLY|O_CREAT|O_APPEND, 0666);
/osnet-11/usr/src/lib/libdiskmgt/common/
H A Dinuse_dump.c68 * We only want to open /dev/dump once instead of for every
69 * slice so we cache the open file descriptor. The ioctl
75 if ((dump_fd = open("/dev/dump", O_RDONLY)) >= 0)
/osnet-11/usr/src/lib/libdtrace_jni/java/docs/examples/
H A DTestAPI.java53 consumer.open();
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/run/
H A Drunenv.t53 open F, "< $STDOUT" or return (0, "Couldn't read $STDOUT file");
55 open F, "< $STDERR" or return (0, "Couldn't read $STDERR file");
69 open STDOUT, "> $STDOUT" or exit $FAILURE_CODE;
70 open STDERR, "> $STDERR" or it_didnt_work();
H A Dswitchd.t18 open my $f, ">$filename"
/osnet-11/usr/src/cmd/hal/tools/sunos/
H A Dhal-system-lcd-get-brightness-sunos.c49 if ((fd = open(device_file, O_RDONLY | O_NONBLOCK)) < 0) {
50 fprintf(stderr, "Cannot open %s: %s", device_file,
H A Dhal-system-lcd-set-brightness-sunos.c50 if ((fd = open(device_file, O_RDONLY | O_NONBLOCK)) < 0) {
51 fprintf(stderr, "Cannot open %s: %s", device_file,
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Sys/Syslog/t/
H A Dconstants.t9 open(MACROS, $macrosall) or plan skip_all => "can't read '$macrosall': $!";

Completed in 57 milliseconds

1234567891011>>