Import mdocml-1.13.1
[dragonfly.git] / contrib / mdocml / test-fgetln.c
CommitLineData
070c62a6 1#include <sys/types.h>
36342e81 2#include <stdio.h>
070c62a6 3#include <unistd.h>
36342e81
SW
4
5int
6main(void)
7{
36342e81 8 size_t sz;
070c62a6
FF
9 fclose(stdin);
10 return(NULL != fgetln(stdin, &sz));
36342e81 11}