summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/fgets.3
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-07-31 01:31:03 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-07-31 01:31:03 +0000
commit267ad9163031e825789b66bebe1dcc9ba737f14a (patch)
treef2b2677925385eee7e673e947c355842ad07d996 /lib/libc/stdio/fgets.3
parent537630a47bd3babc793ff3da019efc39ae2014b2 (diff)
int not size_t, checked against K&R pg247; netbsd pr#2664, msaitoh@spa.is.uec.ac.jp
Diffstat (limited to 'lib/libc/stdio/fgets.3')
-rw-r--r--lib/libc/stdio/fgets.32
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdio/fgets.3 b/lib/libc/stdio/fgets.3
index 8aa2729dd7b..424d879275b 100644
--- a/lib/libc/stdio/fgets.3
+++ b/lib/libc/stdio/fgets.3
@@ -47,7 +47,7 @@
.Sh SYNOPSIS
.Fd #include <stdio.h>
.Ft char *
-.Fn fgets "char *str" "size_t size" "FILE *stream"
+.Fn fgets "char *str" "int size" "FILE *stream"
.Ft char *
.Fn gets "char *str"
.Sh DESCRIPTION