Return to test-fgetln.c CVS log | Up to [cvsweb.bsd.lv] / mandoc |
File: [cvsweb.bsd.lv] / mandoc / Attic / test-fgetln.c (download)
Revision 1.3, Tue Oct 6 18:32:20 2015 UTC (8 years, 6 months ago) by schwarze
modernize style: "return" is not a function |
#include <sys/types.h> #include <stdio.h> #include <unistd.h> int main(void) { size_t sz; fclose(stdin); return fgetln(stdin, &sz) != NULL; }