| 1234567891011121314151617181920 |
- #include <stdlib.h>
- #include <stdio.h>
- #include "get_next_line.h"
- int main(int ac, char** av)
- {
- (void) ac;
- (void) av;
- while (1)
- {
- char* tmp = get_next_line(0);
- if (tmp == NULL)
- break;
- printf("%s\n", tmp);
- free(tmp);
- }
- return 0;
- }
|