Searched refs:open (Results 251 - 275 of 784) sorted by relevance

<<11121314151617181920>>

/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/IO/t/
H A Dio_dir.t50 open(FH,'>X') || die "Can't create x";
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/ExtUtils/t/
H A D00setup_dummy.t24 open( BFDTMP, '>bfdtesttmp.com' ) || die "Error creating command file; $!";
127 open(FILE, ">$file");
H A DManifest.t34 open( T, '>'.$file) or return;
41 open( M, 'MANIFEST' ) or return;
213 is( $@, '', "maniadd() won't open MANIFEST if it doesn't need to" );
218 like( $@, qr/^\Qmaniadd() could not open MANIFEST:\E/,
219 "maniadd() dies if it can't open the MANIFEST" );
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/File/
H A Dstat.t61 skip("Could not open file: $!", 2) unless open(STAT, 'TEST');
70 # VOS open() updates atime; ignore this error (posix-975).
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Tie/File/t/
H A D33_defer_vs.t24 open F, "> $file" or die $!;
H A D26_twrite.t30 open F, "> $file" or die "Couldn't open $file: $!";
266 open F, "> $file" or die "Couldn't open file $file: $!";
292 open F, "< $file" or die "Couldn't open file $file: $!";
316 # my $open = open FH, "< $file";
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Tie/
H A DMemoize.t15 open my $h, '<', File::Spec->catfile($dir, $key) or return;
/osnet-11/usr/src/lib/libast/common/misc/
H A Dsetenviron.c84 close(open(".", O_RDONLY));
/osnet-11/usr/src/lib/libast/common/port/
H A Dastwinsize.c132 if ((fd = open("/dev/tty", O_RDONLY)) >= 0)
/osnet-11/usr/src/lib/libc/port/gen/
H A Disaexec.c116 if ((fd = open(pathname, O_EXEC)) >= 0) {
118 * File exists and is open for O_EXEC. Attempt
H A Dgetut.c138 * If the "utmp" file is not open, attempt to open it for
144 if ((fd = open(_compat_utmpfile, O_RDWR|O_CREAT, 0644)) < 0) {
147 * If the open failed for permissions, try opening
151 if ((fd = open(_compat_utmpfile, O_RDONLY)) < 0)
427 fd = open(file, O_WRONLY | O_APPEND);
430 if ((fd = open(file, O_WRONLY|O_CREAT, 0644)) < 0)
666 if ((fd = open(_compat_utmpfile, O_RDWR|O_CREAT, 0644)) < 0)
/osnet-11/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]);
/osnet-11/usr/src/lib/libuvfs/common/
H A Dioctl.c44 f = open(UVFS_DEV, O_RDONLY);
/osnet-11/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A Dcontext.c182 int *open /* True if the context is established */)
233 /* ditto for open */
234 if (open)
235 *open = (cntx->state == ESTABLISHED);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dconfigpm59 open CONFIG, ">$Config_PM" or die "Can't open $Config_PM: $!\n";
162 open(CONFIG_SH, 'config.sh') || die "Can't open config.sh: $!";
217 open(MYCONFIG,"<myconfig.SH") || die "open myconfig.SH failed: $!";
366 if (open my $fh, '<', $f) {
429 open(CONFIG_POD, ">lib/Config.pod") or die "Can't open lib/Config.pod: $!";
549 open(GLO
[all...]
/osnet-11/usr/src/lib/libast/common/tm/
H A Dtvtouch.c150 if ((fd = open(path, O_WRONLY|O_CREAT|O_TRUNC, mode)) < 0)
254 if ((fd = open(path, O_RDWR)) >= 0)
274 if ((fd = open(path, O_WRONLY|O_CREAT|O_TRUNC, mode)) < 0)
/osnet-11/usr/src/lib/libsun_ima/common/
H A Dima.c274 if ((fd = open(ISCSI_DRIVER_DEVCTL, O_RDONLY)) == -1) {
275 syslog(LOG_USER|LOG_DEBUG, "Cannot open %s (%d)",
325 if ((fd = open(ISCSI_DRIVER_DEVCTL, O_RDONLY)) == -1) {
326 syslog(LOG_USER|LOG_DEBUG, "Cannot open %s (%d)",
355 if ((fd = open(ISCSI_DRIVER_DEVCTL, O_RDONLY)) == -1) {
356 syslog(LOG_USER|LOG_DEBUG, "Cannot open %s (%d)",
419 if ((fd = open(ISCSI_DRIVER_DEVCTL, O_RDONLY)) == -1) {
420 syslog(LOG_USER|LOG_DEBUG, "Cannot open %s (%d)",
789 if ((fd = open(ISCSI_DRIVER_DEVCTL, O_RDONLY)) == -1) {
790 syslog(LOG_USER|LOG_DEBUG, "Cannot open
[all...]
/osnet-11/usr/src/lib/sun_fc/common/
H A DFCHBA.cc84 // open the fcsm node so we can send the ioctl to
87 if ((fd = open(port->getPath().c_str(), O_NDELAY | O_RDONLY)) ==
89 log.debug("Unable to open %d opened (%s)", i,
100 throw IOError("Unable to open FCSM driver");
158 if ((fd = open(port->getPath().c_str(), O_NDELAY | O_RDONLY)) == -1) {
224 if ((fd = open(port->getPath().c_str(), O_RDONLY | O_EXCL)) == -1) {
270 if ((fd = open(port->getPath().c_str(), O_NDELAY | O_RDONLY)) == -1) {
361 /* open the fcsm node so we can send the ioctl to */
363 if ((fd = open(FCSM_DRIVER_PATH.c_str(), O_RDONLY)) < 0) {
373 throw IOError("Unable to open FCS
[all...]
/osnet-11/usr/src/lib/libdhcpsvc/modules/binfiles/
H A Ddhcptab.c185 fd = open(dtpath, O_RDONLY);
353 fd = open(dtpath, O_RDWR);
384 newfd = open(newpath, O_WRONLY|O_CREAT|O_EXCL, 0644);
443 fd = open(dtpath, O_RDWR);
503 newfd = open(newpath, O_WRONLY|O_CREAT|O_EXCL, 0644);
562 fd = open(dtpath, O_RDWR);
606 newfd = open(newpath, O_WRONLY|O_CREAT|O_EXCL, 0644);
718 * Read the dt_header_t in the container at open file `fd' into the header
733 * Write the dt_header_t pointed to by `headerp' to the container at open
750 * container at open fil
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Dtaint.t120 open PROG, "> $ECHO" or die "Can't create $ECHO: $!";
275 open PROG, "> $arg" or die "Can't create $arg: $!";
290 test 32, open(FILE, $TEST), "Couldn't open '$TEST': $!";
418 test 71, eval { open FOO, $foo } eq '', 'open for read';
429 test 74, eval { open FOO, "> $foo" } eq '', 'open for write';
438 for (76..79) { print "ok $_ # Skipped: open('|') is not available\n" }
441 test 76, eval { open FO
[all...]
/osnet-11/usr/src/lib/libparted/common/libparted/fs/linux_swap/
H A Dlinux_swap.c644 .open = _swap_v0_open,
655 .open = NULL,
671 .open = _swap_v1_open,
682 .open = NULL,
698 .open = _swap_swsusp_open,
709 .open = NULL,
/osnet-11/usr/src/lib/libdiskmgt/common/
H A Dslice.c126 fd = open(devpath, O_RDONLY|O_NDELAY);
223 fd = open(devpath, O_RDONLY|O_NDELAY);
543 if ((sfd = open(sp->devpath,
583 * We need to open the cooked slice (not the raw one) to get the
589 cooked_fd = open(localpath, O_RDONLY|O_NDELAY);
591 cooked_fd = open(dp->name, O_RDONLY|O_NDELAY);
734 if ((fd = open(devp->devpath, O_RDONLY|O_NDELAY)) >= 0) {
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/unicore/
H A Dmktables56 if (open IN, $file) {
65 if (not open OUT, ">$file") {
66 die "$0: can't open $file for output: $!\n";
676 ## open ane read file.....
677 if (not open IN, "UnicodeData.txt") {
887 if (not open IN, "LineBreak.txt") {
922 if (not open IN, "ArabicShaping.txt") {
950 if (not open IN, "Jamo.txt") {
973 if (not open(IN, "Scripts.txt")) {
1042 if (not open I
[all...]
/osnet-11/usr/src/lib/libpkg/common/
H A Druncmd.c145 * adjust interrupts and open files as a prelude to a
170 i = open(errfile, O_WRONLY|O_CREAT|O_TRUNC, 0666);
175 /* Close all open files except standard i/o */
360 stdinfile = open(a_inputFile, O_RDONLY);
362 stdinfile = open("/dev/null", O_RDONLY); /* stdin = /dev/null */
398 * adjust interrupts and open files as a prelude to a
424 /* Close all open files except standard i/o */

Completed in 58 milliseconds

<<11121314151617181920>>