Lines Matching refs:cur
301 static char * findNextEOL(char *cur) in findNextEOL() argument
303 if (cur[0] == '>' && cur[1] == ' ' && cur[2] == '\0') { in findNextEOL()
305 return cur+2; in findNextEOL()
309 while (*cur != '\0' && *cur != '\r' && *cur != '\n') cur++; in findNextEOL()
311 return *cur == '\0' ? NULL : cur; in findNextEOL()
479 size_t cur = 0; in writeline() local
492 while (cur < len) { in writeline()
494 written = write (s_fd, s + cur, len - cur); in writeline()
501 cur += written; in writeline()
518 size_t cur = 0; in writeCtrlZ() local
531 while (cur < len) { in writeCtrlZ()
533 written = write (s_fd, s + cur, len - cur); in writeCtrlZ()
540 cur += written; in writeCtrlZ()