Searched refs:O_RDWR (Results 1 - 17 of 17) sorted by relevance

/seL4-refos-master/libs/libmuslc/src/legacy/
H A Ddaemon.c11 if ((fd = open("/dev/null", O_RDWR)) < 0) return -1;
H A Dgetpass.c15 if ((fd = open("/dev/tty", O_RDWR|O_NOCTTY|O_CLOEXEC)) < 0) return 0;
/seL4-refos-master/libs/libmuslc/src/misc/
H A Dopenpty.c15 m = open("/dev/ptmx", O_RDWR|O_NOCTTY);
25 if ((s = open(name, O_RDWR|O_NOCTTY)) < 0)
/seL4-refos-master/libs/libmuslc/src/stdio/
H A D__fmodeflags.c7 if (strchr(mode, '+')) flags = O_RDWR;
H A Dtmpfile.c17 fd = sys_open(s, O_RDWR|O_CREAT|O_EXCL, 0600);
/seL4-refos-master/libs/libmuslc/src/temp/
H A Dmkostemps.c22 if ((fd = open(template, flags | O_RDWR | O_CREAT | O_EXCL, 0600))>=0)
/seL4-refos-master/projects/refos/impl/apps/test_os/src/
H A Dtest_fileserv.c89 seL4_CPtr dspace = data_open(fileservSession, "hello.txt", 0, O_RDWR, 0, &error);
104 seL4_CPtr anonDS = data_open(REFOS_PROCSERV_EP, "anon", 0, O_RDWR, 0x1000, &error);
/seL4-refos-master/apps/test_os/src/
H A Dtest_fileserv.c89 seL4_CPtr dspace = data_open(fileservSession, "hello.txt", 0, O_RDWR, 0, &error);
104 seL4_CPtr anonDS = data_open(REFOS_PROCSERV_EP, "anon", 0, O_RDWR, 0x1000, &error);
/seL4-refos-master/libs/libmuslc/src/env/
H A D__libc_start_main.c51 if (__sys_open("/dev/null", O_RDWR)<0)
/seL4-refos-master/projects/refos/impl/apps/file_server/src/
H A Dpager.c56 fb->dataspace = data_open(REFOS_PROCSERV_EP, "anon", O_CREAT | O_WRONLY |O_TRUNC, O_RDWR,
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/
H A Dvmsconf.h205 # define O_RDWR 2 macro
/seL4-refos-master/apps/file_server/src/
H A Dpager.c56 fb->dataspace = data_open(REFOS_PROCSERV_EP, "anon", O_CREAT | O_WRONLY |O_TRUNC, O_RDWR,
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/
H A Dvmsconf.h205 # define O_RDWR 2 macro
/seL4-refos-master/libs/libmuslc/include/
H A Dfcntl.h45 #define O_RDWR 02 macro
/seL4-refos-master/libs/libmuslc/src/thread/
H A Dsem_open.c25 #define FLAGS (O_RDWR|O_NOFOLLOW|O_CLOEXEC|O_NONBLOCK)
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Dfiles.c1323 while ((lockfd = open(lockname, O_RDWR|O_CREAT|O_EXCL, 0666)) == -1) {
1386 lockptr = sopen(lockname, O_RDWR|O_CREAT, SH_DENYRW, S_IWRITE);
1392 lockptr = open(lockname, O_RDWR|O_CREAT|O_EXCL, S_IWRITE);
2188 fd = open(fq_record, O_RDWR, 0);
2199 } else if ((fd = open(fq_record, O_CREAT|O_RDWR, FCMASK)) >= 0) {
2228 if ((fd = open(fq_record, O_RDWR)) < 0) {
2233 if ((fd = open(fq_record, O_CREAT|O_RDWR)) < 0) {
2235 if ((fd = open(fq_record, O_CREAT|O_RDWR, S_IREAD|S_IWRITE)) < 0) {
2248 fd = macopen (fq_record, O_RDWR | O_CREAT, TEXT_TYPE);
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Dfiles.c1323 while ((lockfd = open(lockname, O_RDWR|O_CREAT|O_EXCL, 0666)) == -1) {
1386 lockptr = sopen(lockname, O_RDWR|O_CREAT, SH_DENYRW, S_IWRITE);
1392 lockptr = open(lockname, O_RDWR|O_CREAT|O_EXCL, S_IWRITE);
2188 fd = open(fq_record, O_RDWR, 0);
2199 } else if ((fd = open(fq_record, O_CREAT|O_RDWR, FCMASK)) >= 0) {
2228 if ((fd = open(fq_record, O_RDWR)) < 0) {
2233 if ((fd = open(fq_record, O_CREAT|O_RDWR)) < 0) {
2235 if ((fd = open(fq_record, O_CREAT|O_RDWR, S_IREAD|S_IWRITE)) < 0) {
2248 fd = macopen (fq_record, O_RDWR | O_CREAT, TEXT_TYPE);

Completed in 188 milliseconds