Searched refs:O_RDONLY (Results 1 - 25 of 67) sorted by relevance
123
/ast/src/lib/libast/comp/ |
H A D | setsid.c | 63 if ((fd = open("/dev/tty", O_RDONLY|O_cloexec)) >= 0)
|
H A D | readlink.c | 48 if ((fd = open(path, O_RDONLY|O_cloexec)) < 0)
|
/ast/src/lib/libast/vec/ |
H A D | vecfile.c | 48 if ((fd = open(file, O_RDONLY|O_cloexec)) >= 0)
|
/ast/src/lib/libast/dir/ |
H A D | opendir.c | 55 if ((fd = open(path, O_RDONLY|O_cloexec)) < 0) return(0);
|
/ast/src/lib/libcoshell/ |
H A D | cosync.c | 90 if (!file || mode < 0 || (fd = open(file, O_RDONLY|O_cloexec)) < 0) return(-1);
|
/ast/src/lib/libast/features/ |
H A D | fcntl.c | 257 #ifndef O_RDONLY 275 #ifndef O_RDONLY 276 printf("#define O_RDONLY 0\n"); 308 printf("#define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR)\n");
|
/ast/src/lib/libast/misc/ |
H A D | setenviron.c | 84 close(open(".", O_RDONLY|O_cloexec));
|
/ast/src/lib/libast/port/ |
H A D | astwinsize.c | 132 if ((fd = open("/dev/tty", O_RDONLY|O_cloexec)) >= 0)
|
/ast/src/cmd/3d/ |
H A D | open3d.c | 210 if ((oflag & O_CREAT) && (!sp || level || (oflag & O_EXCL)) || (sp || level) && ((oflag & O_TRUNC) || (oflag & O_ACCMODE) != O_RDONLY)) 214 if ((oflag & O_ACCMODE) != O_RDONLY) 221 if (!(oflag & O_TRUNC) && (fd = OPEN(sp, O_RDONLY, 0)) < 0) 241 if (r < 0 && errno == ENOENT && ((oflag & (O_CREAT|O_TRUNC)) || (oflag & O_ACCMODE) != O_RDONLY))
|
/ast/src/cmd/std/ |
H A D | pss-procfs.c | 116 if ((fd = open(pss->buf, O_RDONLY|O_BINARY)) < 0) 175 if ((fd = open(pss->buf, O_RDONLY|O_BINARY)) < 0) 303 if ((i = open(pss->buf, O_RDONLY|O_BINARY)) >= 0)
|
H A D | pss-info.c | 59 if ((fd = open(mem, O_RDONLY)) < 0)
|
H A D | pss-kvm.c | 130 if (!(state->kd = kvm_open(NiL, NiL, 0, O_RDONLY, NiL)))
|
/ast/src/cmd/proto/ |
H A D | proto.c | 200 #ifndef O_RDONLY 201 #define O_RDONLY 0 macro 704 else if ((fd = open(list, O_RDONLY)) < 0)
|
/ast/src/lib/libcs/ |
H A D | csname.c | 157 if ((fd = open("/etc/whoami", O_RDONLY)) >= 0)
|
/ast/src/cmd/paxlib/calib/ |
H A D | camap.c | 98 if((in = open(file, O_RDONLY)) < 0)
|
/ast/src/lib/libcmd/ |
H A D | fds.c | 234 switch (flags & (O_RDONLY|O_WRONLY|O_RDWR)) 236 case O_RDONLY:
|
/ast/src/lib/libardir/ |
H A D | ardir.c | 42 if (((ar->fd = open(file, (flags & ARDIR_CREATE) ? (O_CREAT|O_TRUNC|O_RDWR|O_BINARY|O_cloexec) : (flags & ARDIR_UPDATE) ? (O_RDWR|O_BINARY|O_cloexec) : (O_RDONLY|O_BINARY|O_cloexec))) < 0 || fstat(ar->fd, &ar->st) || !S_ISREG(ar->st.st_mode)) && (!meth || !(flags & ARDIR_FORCE)))
|
/ast/src/cmd/ss/ |
H A D | ssd.c | 372 if ((uf = open(usrfile = usrfiles[i], O_RDONLY)) >= 0) break; 396 if ((kf = open(memfile, O_RDONLY)) >= 0) 436 if ((wf = open(buf, O_RDONLY)) >= 0)
|
/ast/src/cmd/pax/ |
H A D | bio.c | 317 if (ap->io->mode != O_RDONLY) 332 if (ap->io->mode != O_RDONLY) 351 if (ap->io->mode != O_RDONLY) 362 if (ap->io->mode != O_RDONLY) 552 * O_RDONLY bread() n chars and return a pointer to the char buffer 1027 if (ap->io->mode != O_RDONLY) 1053 if (ap->io->mode != O_RDONLY)
|
H A D | paxlib.c | 89 if (ap->io->mode == O_RDONLY)
|
/ast/src/cmd/nmake/ |
H A D | misc.c | 45 while ((internal.openfd = open(name, O_RDONLY|O_BINARY|O_cloexec)) < 0) 79 if (res && resolve(internal.openfile, internal.openfd, O_RDONLY))
|
/ast/src/lib/libast/sfio/ |
H A D | _sfopen.c | 181 oflags |= O_RDONLY;
|
/ast/src/cmd/ie/ |
H A D | io.h | 174 # define O_RDONLY 0 macro
|
/ast/src/cmd/kshlib/dbm/ |
H A D | dbm.c | 109 flags = O_RDONLY;
|
/ast/src/cmd/cs/vcs_src/ |
H A D | ifs_func.c | 221 if( (fs = open( pSrc, O_RDONLY, 0 )) < 0 )
|
Completed in 32 milliseconds
123