Lines Matching refs:got
29 int got, total = 0; in full_read() local
33 got = read(fd, buf, count); in full_read()
34 if (got == -1) { in full_read()
39 if (got == 0) { in full_read()
45 buf += got; in full_read()
46 total += got; in full_read()
47 count -= got; in full_read()
54 int fd, got, i; in main() local
68 got = full_read(0, buf, sizeof(buf)); in main()
69 if (got == 0) in main()
71 if (got == sizeof(buf)) { in main()
82 write(fd, buf, got); in main()