/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Fcntl/t/ |
H A D | fcntl.t | 8 # A modest test: exercises only O_WRONLY, O_CREAT, and O_RDONLY. 24 if (sysopen(my $ro, "fcntl$$", O_RDONLY)) { 37 print "not ok 4 # sysopen O_RDONLY failed: $!\n";
|
/osnet-11/usr/src/lib/libast/common/comp/ |
H A D | setsid.c | 63 if ((fd = open("/dev/tty", O_RDONLY)) >= 0)
|
H A D | readlink.c | 48 if ((fd = open(path, O_RDONLY)) < 0)
|
/osnet-11/usr/src/lib/libsqlite/tool/ |
H A D | diffdb.c | 27 db1 = open(argv[1], O_RDONLY); 32 db2 = open(argv[2], O_RDONLY);
|
/osnet-11/usr/src/lib/libcurses/screen/ |
H A D | typeahead.c | 104 * open(tty, O_RDONLY | O_NDELAY) : -1; 107 if ((cur_term->_check_fd = open("/dev/tty", O_RDONLY |
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | opendir.c | 52 O_RDONLY|O_NDELAY|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY, 0)) < 0)
|
H A D | attropen.c | 60 if ((fd = open64(file, O_RDONLY|O_NONBLOCK)) == -1) { 91 if ((fd = open(file, O_RDONLY|O_NONBLOCK)) == -1) {
|
/osnet-11/usr/src/lib/libproc/common/ |
H A D | proc_get_info.c | 62 if ((fd = open(fname, O_RDONLY)) >= 0) { 83 if ((fd = open(fname, O_RDONLY)) >= 0) { 113 if ((fd = open(fname, O_RDONLY)) < 0) 144 if ((fd = open(fname, O_RDONLY)) >= 0) { 161 if ((fd = open(fname, O_RDONLY)) >= 0) { 184 if ((fd = open(fname, O_RDONLY)) >= 0) {
|
/osnet-11/usr/src/lib/libnsl/rpc/ |
H A D | can_use_af.c | 51 if ((fd = open("/dev/udp", O_RDONLY)) < 0) {
|
/osnet-11/usr/src/lib/libast/common/vec/ |
H A D | vecfile.c | 48 if ((fd = open(file, O_RDONLY)) >= 0)
|
/osnet-11/usr/src/lib/libfedfs/common/ |
H A D | get_rp_data.c | 64 fd1 = open(path, O_RDONLY); 67 fd2 = openat(fd1, REFERRAL_EA, O_RDONLY | O_XATTR);
|
/osnet-11/usr/src/lib/libc/port/stdio/ |
H A D | _endopen.c | 68 oflag = O_RDONLY; 84 oflag = (oflag & ~(O_RDONLY | O_WRONLY)) | O_RDWR;
|
/osnet-11/usr/src/lib/libcmdutils/common/ |
H A D | process_xattrs.c | 41 pwdfd = open(".", O_RDONLY); 43 if ((fd1 = attropen(attrfile, ".", O_RDONLY)) == -1) { 55 if ((fd2 = attropen(attrfile, ".", O_RDONLY)) == -1) { 96 if ((srcfd = open(infile, O_RDONLY)) == -1) { 103 if ((indfd = openat(srcfd, ".", O_RDONLY|O_XATTR)) == -1) { 107 if ((outdfd = attropen(outfile, ".", O_RDONLY)) == -1) { 129 O_RDONLY)) == -1) {
|
/osnet-11/usr/src/lib/libdiskmgt/common/ |
H A D | inuse_dump.c | 75 if ((dump_fd = open("/dev/dump", O_RDONLY)) >= 0)
|
/osnet-11/usr/src/cmd/sendmail/db/os/ |
H A D | os_oflags.c | 39 * for O_RDONLY, it's simply the lack of a write flag. 44 if (!(oflags & (O_RDWR | O_WRONLY)) || oflags & O_RDONLY)
|
/osnet-11/usr/src/cmd/hal/tools/sunos/ |
H A D | hal-system-lcd-get-brightness-sunos.c | 49 if ((fd = open(device_file, O_RDONLY | O_NONBLOCK)) < 0) {
|
H A D | hal-system-lcd-set-brightness-sunos.c | 50 if ((fd = open(device_file, O_RDONLY | O_NONBLOCK)) < 0) {
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/POSIX/t/ |
H A D | taint.t | 39 eval { $testfd = open($file, O_RDONLY, 0) };
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/ |
H A D | FileHandle.t | 29 $fh = (new FileHandle "./TEST", O_RDONLY 30 or new FileHandle "TEST", O_RDONLY)
|
/osnet-11/usr/src/lib/libwanbootutil/common/ |
H A D | wbio.c | 83 if ((fd = open("/dev/urandom", O_RDONLY)) == -1) {
|
/osnet-11/usr/src/lib/mpapi/libmpscsi_vhci/common/ |
H A D | Initialize.c | 70 O_NDELAY | O_RDONLY);
|
/osnet-11/usr/src/lib/libdtrace/common/ |
H A D | io.sed.in | 55 SED_REPLACE(O_RDONLY)
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Tie/File/t/ |
H A D | 08_ro.t | 13 use Fcntl 'O_RDONLY'; 19 my $o = tie @a, 'Tie::File', $file, mode => O_RDONLY, autochomp => 0; 48 my $o = tie @a, 'Tie::File', $file, mode => O_RDONLY, autochomp => 0
|
/osnet-11/usr/src/cmd/perl/contrib/Sun/Solaris/Exacct/t/ |
H A D | RandTest | 134 $f = ea_new_file("/tmp/wr.$$", &O_RDONLY) 144 $f = ea_new_file("/tmp/wr.$$", &O_RDONLY, aflags => &EO_TAIL) 155 $f = ea_new_file("/tmp/wr.$$", &O_RDONLY) 174 $f = ea_new_file("/tmp/wr.$$", &O_RDONLY) 194 $f = ea_new_file("/tmp/wr.$$", &O_RDONLY, aflags => &EO_TAIL)
|
/osnet-11/usr/src/lib/libshadowtest/common/ |
H A D | libshadowtest.c | 80 if ((fd = open(path, O_RDONLY)) < 0) { 193 if ((fd = open(path, O_RDONLY)) < 0) 214 if ((fd = open(path, O_RDONLY)) < 0) 379 if ((fd = open(path, O_RDONLY)) < 0) 403 if ((fd = open(path, O_RDONLY)) < 0) 456 if ((fd = open(path, O_RDONLY)) < 0) { 461 if ((map = openat(fd, "SUNWshadow.map", O_XATTR | O_RDONLY)) < 0) {
|