summaryrefslogtreecommitdiffstats
path: root/test-fgetln.c
diff options
context:
space:
mode:
Diffstat (limited to 'test-fgetln.c')
-rw-r--r--test-fgetln.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/test-fgetln.c b/test-fgetln.c
new file mode 100644
index 00000000..90869cd8
--- /dev/null
+++ b/test-fgetln.c
@@ -0,0 +1,11 @@
+#include <stdio.h>
+#include <stdlib.h>
+
+int
+main(void)
+{
+ char *cp;
+ size_t sz;
+ cp = fgetln(stdin, &sz);
+ return 0;
+}