Lines Matching defs:ptr
66 struct strbuf *ptr;
100 ptr = do_peek(fds[0].fd, 255);
101 if (ptr != NULL) {
102 return(process(fds[0].fd,ptr));
120 struct strbuf *ptr) /* ptr that holds data in ptr->buf */
125 for (i = 0; i < ptr->len; i++) {
126 if (ptr->buf[i] == '\0') {
129 } else if ((ptr->buf[i] == '\n') || (ptr->buf[i] == '\r')) {
131 (void) read(fd, junk, ptr->len);
149 * - return a ptr to the buf that contains the data
190 struct strbuf *ptr;
196 ptr = do_peek(0, 1);
197 if (ptr == NULL) { /* somebody type <del> */
201 if (ptr->buf[0] == '\0') {