HelenOS sources

O_RDWR             49 uspace/lib/posix/include/posix/fcntl.h #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
O_RDWR             78 uspace/lib/posix/src/fcntl.c 		flags |= O_RDWR;
O_RDWR            118 uspace/lib/posix/src/fcntl.c 	if (((posix_flags & (O_RDONLY | O_WRONLY | O_RDWR)) == 0) ||
O_RDWR            120 uspace/lib/posix/src/fcntl.c 	    ((posix_flags & (O_RDONLY | O_RDWR)) == (O_RDONLY | O_RDWR)) ||
O_RDWR            121 uspace/lib/posix/src/fcntl.c 	    ((posix_flags & (O_WRONLY | O_RDWR)) == (O_WRONLY | O_RDWR))) {
O_RDWR            135 uspace/lib/posix/src/fcntl.c 	    ((posix_flags & O_RDWR) ? MODE_READ | MODE_WRITE : 0) |
O_RDWR            151 uspace/lib/posix/src/fcntl.c 		if (posix_flags & (O_RDWR | O_WRONLY)) {
O_RDWR             60 uspace/lib/posix/test/stdlib.c 	file = open(p, O_CREAT | O_EXCL | O_RDWR, 0600);
O_RDWR             68 uspace/lib/posix/test/unistd.c 	file = open(name, O_CREAT | O_EXCL | O_RDWR, 0600);
HelenOS homepage, sources at GitHub