2014-11-22 18:08:25 +00:00
|
|
|
#include <sys/types.h>
|
2012-10-18 09:55:16 +00:00
|
|
|
#include <stdio.h>
|
2014-11-22 18:08:25 +00:00
|
|
|
#include <unistd.h>
|
2012-10-18 09:55:16 +00:00
|
|
|
|
|
|
|
int
|
|
|
|
main(void)
|
|
|
|
{
|
2016-01-15 23:08:59 +00:00
|
|
|
char *line = NULL;
|
|
|
|
size_t linesz = 0;
|
|
|
|
|
2014-11-22 18:08:25 +00:00
|
|
|
fclose(stdin);
|
2016-01-15 23:08:59 +00:00
|
|
|
return getline(&line, &linesz, stdin) != -1;
|
2012-10-18 09:55:16 +00:00
|
|
|
}
|