HelenOS sources
O_RDONLY 49 uspace/lib/posix/include/posix/fcntl.h #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
O_RDONLY 118 uspace/lib/posix/src/fcntl.c if (((posix_flags & (O_RDONLY | O_WRONLY | O_RDWR)) == 0) ||
O_RDONLY 119 uspace/lib/posix/src/fcntl.c ((posix_flags & (O_RDONLY | O_WRONLY)) == (O_RDONLY | O_WRONLY)) ||
O_RDONLY 120 uspace/lib/posix/src/fcntl.c ((posix_flags & (O_RDONLY | O_RDWR)) == (O_RDONLY | O_RDWR)) ||
O_RDONLY 136 uspace/lib/posix/src/fcntl.c ((posix_flags & O_RDONLY) ? MODE_READ : 0) |
O_RDONLY 418 uspace/lib/posix/src/unistd.c int fd = open(path, O_RDONLY);
HelenOS homepage, sources at GitHub