Searched refs:O_RDONLY (Results 1 - 23 of 23) sorted by relevance

/seL4-refos-master/libs/libmuslc/src/dirent/
H A Dopendir.c13 if ((fd = open(name, O_RDONLY|O_DIRECTORY|O_CLOEXEC)) < 0)
/seL4-refos-master/libs/libmuslc/src/stdio/
H A D__fmodeflags.c8 else if (*mode == 'r') flags = O_RDONLY;
H A D__fopen_rb_ca.c9 f->fd = sys_open(filename, O_RDONLY|O_CLOEXEC);
/seL4-refos-master/libs/libmuslc/src/time/
H A D__map_file.c12 int fd = __sys_open(pathname, O_RDONLY|O_CLOEXEC|O_NONBLOCK);
/seL4-refos-master/libs/libmuslc/src/stat/
H A Dfchmodat.c24 if ((fd2 = __syscall(SYS_openat, fd, path, O_RDONLY|O_PATH|O_NOFOLLOW|O_NOCTTY|O_CLOEXEC)) < 0) {
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/
H A Dvmsconf.h203 # define O_RDONLY 0 macro
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/
H A Dvmsconf.h203 # define O_RDONLY 0 macro
/seL4-refos-master/libs/libmuslc/include/
H A Dfcntl.h43 #define O_RDONLY 00 macro
/seL4-refos-master/libs/libmuslc/src/passwd/
H A Dgetspnam_r.c84 fd = open(path, O_RDONLY|O_NOFOLLOW|O_NONBLOCK|O_CLOEXEC);
/seL4-refos-master/libs/libsel4muslcsys/src/
H A Dsys_io.c183 if (flags != O_RDONLY) {
184 ZF_LOGE("Open only supports O_RDONLY, not 0x%x on %s\n", flags, pathname);
185 assert(flags == O_RDONLY);
530 int fd = open(pathname, O_RDONLY, 0);
/seL4-refos-master/projects/seL4_libs/libsel4muslcsys/src/
H A Dsys_io.c183 if (flags != O_RDONLY) {
184 ZF_LOGE("Open only supports O_RDONLY, not 0x%x on %s\n", flags, pathname);
185 assert(flags == O_RDONLY);
530 int fd = open(pathname, O_RDONLY, 0);
/seL4-refos-master/libs/libmuslc/src/thread/
H A Dsynccall.c92 dir.fd = open("/proc/self/task", O_RDONLY|O_DIRECTORY|O_CLOEXEC);
/seL4-refos-master/projects/refos/impl/apps/file_server/src/dispatchers/
H A Dcpio_dspace.c76 if (fileData && (rpc_flags & O_ACCMODE) != O_RDONLY) {
118 (size_t) fileDataSize, O_RDONLY);
/seL4-refos-master/apps/file_server/src/dispatchers/
H A Dcpio_dspace.c76 if (fileData && (rpc_flags & O_ACCMODE) != O_RDONLY) {
118 (size_t) fileDataSize, O_RDONLY);
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Dfiles.c484 fd = macopen(fq_lock, O_RDONLY | O_BINARY, LEVL_TYPE);
488 fd = open_levelfile_exclusively(fq_lock, lev, O_RDONLY | O_BINARY );
491 fd = open(fq_lock, O_RDONLY | O_BINARY, 0);
755 fd = macopen(fq_bones, O_RDONLY | O_BINARY, BONE_TYPE);
757 fd = open(fq_bones, O_RDONLY | O_BINARY, 0);
905 fd = macopen(fq_save, O_RDONLY | O_BINARY, SAVE_TYPE);
907 fd = open(fq_save, O_RDONLY | O_BINARY, 0);
H A Dsave.c1101 if ((fdfrom = open(from, O_RDONLY | O_BINARY, FCMASK)) < 0)
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Dfiles.c484 fd = macopen(fq_lock, O_RDONLY | O_BINARY, LEVL_TYPE);
488 fd = open_levelfile_exclusively(fq_lock, lev, O_RDONLY | O_BINARY );
491 fd = open(fq_lock, O_RDONLY | O_BINARY, 0);
755 fd = macopen(fq_bones, O_RDONLY | O_BINARY, BONE_TYPE);
757 fd = open(fq_bones, O_RDONLY | O_BINARY, 0);
905 fd = macopen(fq_save, O_RDONLY | O_BINARY, SAVE_TYPE);
907 fd = open(fq_save, O_RDONLY | O_BINARY, 0);
H A Dsave.c1101 if ((fdfrom = open(from, O_RDONLY | O_BINARY, FCMASK)) < 0)
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/sys/share/
H A Dpcsys.c337 if ((fd = open(comspec, O_RDONLY)) >= 0) {
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/sys/share/
H A Dpcsys.c337 if ((fd = open(comspec, O_RDONLY)) >= 0) {
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/sys/unix/
H A Dunixmain.c14 #ifndef O_RDONLY
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/sys/unix/
H A Dunixmain.c14 #ifndef O_RDONLY
/seL4-refos-master/libs/libmuslc/ldso/
H A Ddynlink.c728 if ((fd = open(buf, O_RDONLY|O_CLOEXEC))>=0) return fd;
943 fd = open(name, O_RDONLY|O_CLOEXEC);
1496 fd = open(argv[0], O_RDONLY);

Completed in 188 milliseconds