summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-07-31 01:31:02 +0000
committerderaadt <deraadt@openbsd.org>1996-07-31 01:31:02 +0000
commitf6742f3ee13c090b14796a7dd7ecafc8553d4638 (patch)
tree6c5a0c08ac1f417b4de48a3ec5146088344cf73c /lib/libc/stdio
parentWe want to build libg++ even in OpenBSD/alpha (diff)
downloadwireguard-openbsd-f6742f3ee13c090b14796a7dd7ecafc8553d4638.tar.xz
wireguard-openbsd-f6742f3ee13c090b14796a7dd7ecafc8553d4638.zip
int not size_t, checked against K&R pg247; netbsd pr#2664, msaitoh@spa.is.uec.ac.jp
Diffstat (limited to 'lib/libc/stdio')
-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