O_TRUNC           387 kernel/sysfile.c   if ((omode & O_TRUNC) && ip->type == T_FILE) {
O_TRUNC            91 mkfs/mkfs.c      fsfd = open(argv[1], O_RDWR | O_CREAT | O_TRUNC, 0666);
O_TRUNC           395 user/sh.c            cmd = redircmd(cmd, q, eq, O_WRONLY | O_CREATE | O_TRUNC, 1);
O_TRUNC           300 user/usertests.c   int fd1 = open("truncfile", O_CREATE | O_WRONLY | O_TRUNC);
O_TRUNC           311 user/usertests.c   fd1 = open("truncfile", O_WRONLY | O_TRUNC);
O_TRUNC           358 user/usertests.c   int fd1 = open("truncfile", O_CREATE | O_TRUNC | O_WRONLY);
O_TRUNC           361 user/usertests.c   int fd2 = open("truncfile", O_TRUNC | O_WRONLY);
O_TRUNC           379 user/usertests.c   close(open("truncfile", O_CREATE | O_TRUNC | O_WRONLY));
O_TRUNC           409 user/usertests.c     int fd = open("truncfile", O_CREATE | O_WRONLY | O_TRUNC);
O_TRUNC          2728 user/usertests.c     fd = open("junk", O_CREATE | O_RDWR | O_TRUNC);
O_TRUNC          3229 user/usertests.c     int fd = open(name, O_CREATE | O_RDWR | O_TRUNC);
O_TRUNC          3260 user/usertests.c     int fd = open(name, O_CREATE | O_RDWR | O_TRUNC);
O_TRUNC          3305 user/usertests.c     int fd = open(name, O_CREATE | O_RDWR | O_TRUNC);