freebsd-skq/contrib/mdocml/test-fgetln.c
2014-11-22 18:57:23 +00:00

12 lines
147 B
C

#include <sys/types.h>
#include <stdio.h>
#include <unistd.h>
int
main(void)
{
size_t sz;
fclose(stdin);
return(NULL != fgetln(stdin, &sz));
}