write 13 cat.c if (write(1, buf, n) != n) { write 293 console.c devsw[CONSOLE].write = consolewrite; write 32 file.h int (*write)(struct inode*, char*, int); write 13 forktest.c write(fd, s, strlen(s)); write 488 fs.c if(ip->major < 0 || ip->major >= NDEV || !devsw[ip->major].write) write 490 fs.c return devsw[ip->major].write(ip, src, n); write 25 grep.c write(1, p, q+1 - p); write 177 mkfs.c if(write(fsfd, buf, BSIZE) != BSIZE){ write 8 printf.c write(fd, &c, 1); write 36 stressfs.c write(fd, data, sizeof(data)); write 9 user.h int write(int, const void*, int); write 153 usertests.c if(write(fd, "aaaaaaaaaa", 10) != 10){ write 157 usertests.c if(write(fd, "bbbbbbbbbb", 10) != 10){ write 202 usertests.c if(write(fd, buf, 512) != 512){ write 322 usertests.c if(write(fds[1], buf, 1033) != 1033){ write 379 usertests.c if(write(pfds[1], "x", 1) != 1) write 481 usertests.c if(write(fd, buf, sizeof(buf)) != sizeof(buf)){ write 545 usertests.c if((n = write(fd, buf, 500)) != 500){ write 667 usertests.c write(fd, "hello", 5); write 681 usertests.c write(fd1, "yyy", 3); write 692 usertests.c if(write(fd, buf, 10) != 10){ write 716 usertests.c if(write(fd, "hello", 5) != 5){ write 952 usertests.c write(fd, "ff", 2); write 970 usertests.c write(fd, "FF", 2); write 1134 usertests.c int cc = write(fd, buf, sz); write 1162 usertests.c if(write(fd, buf, 600) != 600){ write 1333 usertests.c if(write(fd, "x", 1) > 0){ write 1522 usertests.c write(fds[1], "x", 1); write 1671 usertests.c int cc = write(fd, buf, 512);