Lines Matching refs:buf
9 static void to_unix(char* buf);
10 static void unix_to_dos(char* buf2, const char* buf);
22 char buf[BUFSIZE*2+3]; member
64 node->buf[0] = 0; in main()
71 char buf[BUFSIZE+2]; in main() local
74 amt = read(fd, buf, amt2); in main()
79 buf[amt2] = '\0'; in main()
80 to_unix(buf); in main()
82 strcpy(node->buf, buf); in main()
85 unix_to_dos(buf2, buf); in main()
86 strcpy(node->buf, buf2); in main()
94 ssize_t amt2 = strlen(root->buf); in main()
96 ssize_t amt = write(fd, root->buf, amt2); in main()
113 to_unix(char* buf) in to_unix() argument
115 char* p = buf; in to_unix()
116 char* q = buf; in to_unix()
140 unix_to_dos(char* buf2, const char* buf) in unix_to_dos() argument
142 const char* p = buf; in unix_to_dos()