aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Pankov <yuripv@FreeBSD.org>2021-04-28 09:18:25 +0000
committerYuri Pankov <yuripv@FreeBSD.org>2021-04-28 09:18:25 +0000
commit01a856c666194b77a359eaf2b27ee6a4f9d9945b (patch)
tree0e9a2560b42b37697cd4ee58557a035e6618c323
parentf9668e42b44f22c9ab213eb9a4792d5acfcf6903 (diff)
downloadsrc-01a856c666194b77a359eaf2b27ee6a4f9d9945b.tar.gz
src-01a856c666194b77a359eaf2b27ee6a4f9d9945b.zip
open_memstream(3): fix typo
While here, pet mandoc: .Tn -> .Vt
-rw-r--r--lib/libc/stdio/open_memstream.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdio/open_memstream.3 b/lib/libc/stdio/open_memstream.3
index 8e2c1e9e057f..506b9e229b76 100644
--- a/lib/libc/stdio/open_memstream.3
+++ b/lib/libc/stdio/open_memstream.3
@@ -110,7 +110,7 @@ These multibyte characters are then converted back to wide characters when
written into the stream.
As a result,
the wide-oriented streams maintain an internal multibyte character conversion
-state that is cleared on any seek opertion that changes the current position.
+state that is cleared on any seek operation that changes the current position.
This should have no effect as long as wide-oriented output operations are used
on a wide-oriented stream.
.Sh RETURN VALUES
@@ -119,7 +119,7 @@ Upon successful completion,
and
.Fn open_wmemstream
return a
-.Tn FILE
+.Vt FILE
pointer.
Otherwise,
.Dv NULL