summaryrefslogblamecommitdiffstats
path: root/test-fgetln.c
blob: ac225a178f35cd1a9874cf754e4a9a3dabeb03ce (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                      
                  
                   



          
                  

                                           
 
#include <sys/types.h>
#include <stdio.h>
#include <unistd.h>

int
main(void)
{
	size_t sz;
	fclose(stdin);
	return(NULL != fgetln(stdin, &sz));
}