summaryrefslogtreecommitdiff
path: root/lib/libc/locale
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2023-11-11 01:38:24 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2023-11-11 01:38:24 +0000
commit689a5a7797d6edc0e34d79a1d9f538d645509249 (patch)
tree356e3fa745d82e134a43460723d1f7326f4811cb /lib/libc/locale
parentb0b7da330d2d465dae900dea3b4490bc13a6a3d1 (diff)
Delete the useless .\" ----- comments before .Sh.
Wo don't have them anywhere else, so we don't need them here. No text change.
Diffstat (limited to 'lib/libc/locale')
-rw-r--r--lib/libc/locale/mbtowc.38
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/libc/locale/mbtowc.3 b/lib/libc/locale/mbtowc.3
index 9076113f4fd..2c8d80fff24 100644
--- a/lib/libc/locale/mbtowc.3
+++ b/lib/libc/locale/mbtowc.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mbtowc.3,v 1.7 2023/11/11 01:28:41 schwarze Exp $
+.\" $OpenBSD: mbtowc.3,v 1.8 2023/11/11 01:38:23 schwarze Exp $
.\" $NetBSD: mbtowc.3,v 1.5 2003/09/08 17:54:31 wiz Exp $
.\"
.\" Copyright (c) 2016, 2023 Ingo Schwarze <schwarze@openbsd.org>
@@ -30,11 +30,9 @@
.Dd $Mdocdate: November 11 2023 $
.Dt MBTOWC 3
.Os
-.\" ----------------------------------------------------------------------
.Sh NAME
.Nm mbtowc
.Nd converts a multibyte character to a wide character
-.\" ----------------------------------------------------------------------
.Sh SYNOPSIS
.In stdlib.h
.Ft int
@@ -132,7 +130,6 @@ never form a complete character and
.Fn mbtowc
always fails.
.El
-.\" ----------------------------------------------------------------------
.Sh RETURN VALUES
Normally,
.Fn mbtowc
@@ -168,7 +165,6 @@ The current encoding is state-independent.
.It non-zero
The current encoding is state-dependent.
.El
-.\" ----------------------------------------------------------------------
.Sh EXAMPLES
The following program parses a UTF-8 string and reports encoding errors:
.Bd -literal
@@ -228,12 +224,10 @@ in the following cases:
.Fa s
points to an invalid or incomplete multibyte character.
.El
-.\" ----------------------------------------------------------------------
.Sh SEE ALSO
.Xr mblen 3 ,
.Xr mbrtowc 3 ,
.Xr setlocale 3
-.\" ----------------------------------------------------------------------
.Sh STANDARDS
The
.Fn mbtowc