Home | History | Annotate | Download | only in line_endings

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];
64 node->buf[0] = 0;
71 char buf[BUFSIZE+2];
74 amt = read(fd, buf, amt2);
79 buf[amt2] = '\0';
80 to_unix(buf);
82 strcpy(node->buf, buf);
85 unix_to_dos(buf2, buf);
86 strcpy(node->buf, buf2);
94 ssize_t amt2 = strlen(root->buf);
96 ssize_t amt = write(fd, root->buf, amt2);
113 to_unix(char* buf)
115 char* p = buf;
116 char* q = buf;
140 unix_to_dos(char* buf2, const char* buf)
142 const char* p = buf;