O_TRUNC 363 kernel/sysfile.c if((omode & O_TRUNC) && ip->type == T_FILE){ O_TRUNC 88 mkfs/mkfs.c fsfd = open(argv[1], O_RDWR|O_CREAT|O_TRUNC, 0666); O_TRUNC 390 user/sh.c cmd = redircmd(cmd, q, eq, O_WRONLY|O_CREATE|O_TRUNC, 1); O_TRUNC 298 user/usertests.c int fd1 = open("truncfile", O_CREATE|O_WRONLY|O_TRUNC); O_TRUNC 309 user/usertests.c fd1 = open("truncfile", O_WRONLY|O_TRUNC); O_TRUNC 356 user/usertests.c int fd1 = open("truncfile", O_CREATE|O_TRUNC|O_WRONLY); O_TRUNC 359 user/usertests.c int fd2 = open("truncfile", O_TRUNC|O_WRONLY); O_TRUNC 377 user/usertests.c close(open("truncfile", O_CREATE|O_TRUNC|O_WRONLY)); O_TRUNC 407 user/usertests.c int fd = open("truncfile", O_CREATE|O_WRONLY|O_TRUNC); O_TRUNC 2847 user/usertests.c int fd = open(name, O_CREATE|O_RDWR|O_TRUNC); O_TRUNC 2878 user/usertests.c int fd = open(name, O_CREATE|O_RDWR|O_TRUNC); O_TRUNC 2923 user/usertests.c int fd = open(name, O_CREATE|O_RDWR|O_TRUNC);