O_WRONLY 384 kernel/sysfile.c f->readable = !(omode & O_WRONLY); O_WRONLY 385 kernel/sysfile.c f->writable = (omode & O_WRONLY) || (omode & O_RDWR); O_WRONLY 20 user/forphan.c if ((fd = open(ff, O_CREATE | O_WRONLY)) < 0) { O_WRONLY 395 user/sh.c cmd = redircmd(cmd, q, eq, O_WRONLY | O_CREATE | O_TRUNC, 1); O_WRONLY 398 user/sh.c cmd = redircmd(cmd, q, eq, O_WRONLY | O_CREATE, 1); O_WRONLY 41 user/usertests.c int fd = open("copyin1", O_CREATE | O_WRONLY); O_WRONLY 130 user/usertests.c int fd = open((char *)addr, O_CREATE | O_WRONLY); O_WRONLY 156 user/usertests.c int fd = open(b, O_CREATE | O_WRONLY); O_WRONLY 226 user/usertests.c int fd = open(b, O_CREATE | O_WRONLY); O_WRONLY 265 user/usertests.c fd = open("rwsbrk", O_CREATE | O_WRONLY); O_WRONLY 300 user/usertests.c int fd1 = open("truncfile", O_CREATE | O_WRONLY | O_TRUNC); O_WRONLY 311 user/usertests.c fd1 = open("truncfile", O_WRONLY | O_TRUNC); O_WRONLY 358 user/usertests.c int fd1 = open("truncfile", O_CREATE | O_TRUNC | O_WRONLY); O_WRONLY 361 user/usertests.c int fd2 = open("truncfile", O_TRUNC | O_WRONLY); O_WRONLY 379 user/usertests.c close(open("truncfile", O_CREATE | O_TRUNC | O_WRONLY)); O_WRONLY 390 user/usertests.c int fd = open("truncfile", O_WRONLY); O_WRONLY 409 user/usertests.c int fd = open("truncfile", O_CREATE | O_WRONLY | O_TRUNC); O_WRONLY 702 user/usertests.c fd = open("echo-ok", O_CREATE | O_WRONLY); O_WRONLY 1668 user/usertests.c if (open("dd", O_WRONLY) >= 0) { O_WRONLY 2281 user/usertests.c fd = open("sbrk", O_CREATE | O_WRONLY); O_WRONLY 3150 user/usertests.c int fd = open("junk", O_CREATE | O_WRONLY); O_WRONLY 3160 user/usertests.c int fd = open("junk", O_CREATE | O_WRONLY);