summaryrefslogtreecommitdiff
path: root/lib/libc/stdio
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdio')
-rw-r--r--lib/libc/stdio/fgets.36
-rw-r--r--lib/libc/stdio/fopen.34
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/stdio/fgets.3 b/lib/libc/stdio/fgets.3
index 2937cea99e3..00f708d6be8 100644
--- a/lib/libc/stdio/fgets.3
+++ b/lib/libc/stdio/fgets.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fgets.3,v 1.14 2002/07/20 18:30:23 pvalchev Exp $
+.\" $OpenBSD: fgets.3,v 1.15 2003/03/06 20:48:35 jmc Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -52,7 +52,7 @@
The
.Fn fgets
function reads at most one less than the number of characters specified by
-.Xr size
+.Ar size
from the given
.Fa stream
and stores them in the string
@@ -69,7 +69,7 @@ The
function is equivalent to
.Fn fgets
with an infinite
-.Xr size
+.Ar size
and a
.Fa stream
of
diff --git a/lib/libc/stdio/fopen.3 b/lib/libc/stdio/fopen.3
index a9c667d603a..ce2dbff7c07 100644
--- a/lib/libc/stdio/fopen.3
+++ b/lib/libc/stdio/fopen.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fopen.3,v 1.13 2001/12/07 23:07:35 millert Exp $
+.\" $OpenBSD: fopen.3,v 1.14 2003/03/06 20:48:35 jmc Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -144,7 +144,7 @@ fails.
The
.Fa mode
argument is used just as in the
-.Xr fopen
+.Fn fopen
function.
The primary use of the
.Fn freopen