mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
14 lines
186 B
C
14 lines
186 B
C
#include <sys/types.h>
|
|
#include <stdio.h>
|
|
#include <unistd.h>
|
|
|
|
int
|
|
main(void)
|
|
{
|
|
char *line = NULL;
|
|
size_t linesz = 0;
|
|
|
|
fclose(stdin);
|
|
return getline(&line, &linesz, stdin) != -1;
|
|
}
|