summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2015-03-19 12:41:51 +0000
committerjmc <jmc@openbsd.org>2015-03-19 12:41:51 +0000
commit696da7fab1086bcb9cf983e3bcb5d72a37df758b (patch)
treeb8f272dd9b9592ff5d3d634169d4fc01f783d851 /lib/libc
parentfirst run through this page. mainly getting SYNOPSIS and usage() orderly (diff)
downloadwireguard-openbsd-696da7fab1086bcb9cf983e3bcb5d72a37df758b.tar.xz
wireguard-openbsd-696da7fab1086bcb9cf983e3bcb5d72a37df758b.zip
better wording, from andre smagin; ok stsp
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/locale/mbstowcs.38
-rw-r--r--lib/libc/locale/wcrtomb.38
-rw-r--r--lib/libc/locale/wcstombs.38
3 files changed, 12 insertions, 12 deletions
diff --git a/lib/libc/locale/mbstowcs.3 b/lib/libc/locale/mbstowcs.3
index d12eaf07477..c62e423ab92 100644
--- a/lib/libc/locale/mbstowcs.3
+++ b/lib/libc/locale/mbstowcs.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mbstowcs.3,v 1.5 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: mbstowcs.3,v 1.6 2015/03/19 12:41:51 jmc Exp $
.\" $NetBSD: mbstowcs.3,v 1.6 2003/09/08 17:54:31 wiz Exp $
.\"
.\" Copyright (c)2002 Citrus Project,
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: March 19 2015 $
.Dt MBSTOWCS 3
.Os
.\" ----------------------------------------------------------------------
@@ -46,9 +46,9 @@ converts a null-terminated multibyte character string pointed to by
to the corresponding wide-character string and stores it in the array
pointed to by
.Fa pwcs .
-This function may modify the first at most
+Up to
.Fa n
-elements of the array pointed to by
+elements are stored in
.Fa pwcs .
Each character will be converted as if
.Xr mbtowc 3
diff --git a/lib/libc/locale/wcrtomb.3 b/lib/libc/locale/wcrtomb.3
index ffa125de27e..17e8d983420 100644
--- a/lib/libc/locale/wcrtomb.3
+++ b/lib/libc/locale/wcrtomb.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: wcrtomb.3,v 1.7 2013/08/28 16:24:07 jmc Exp $
+.\" $OpenBSD: wcrtomb.3,v 1.8 2015/03/19 12:41:51 jmc Exp $
.\" $NetBSD: wcrtomb.3,v 1.4 2003/09/08 17:54:31 wiz Exp $
.\"
.\" Copyright (c)2002 Citrus Project,
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: August 28 2013 $
+.Dd $Mdocdate: March 19 2015 $
.Dt WCRTOMB 3
.Os
.\" ----------------------------------------------------------------------
@@ -48,9 +48,9 @@ pointed to by
unless
.Fa s
is a null pointer.
-This function will modify the first at most
+Up to
.Dv MB_CUR_MAX
-bytes of the array pointed by
+bytes are stored in
.Fa s .
.Pp
The behaviour of
diff --git a/lib/libc/locale/wcstombs.3 b/lib/libc/locale/wcstombs.3
index 4cc04013dc6..5593b8625ad 100644
--- a/lib/libc/locale/wcstombs.3
+++ b/lib/libc/locale/wcstombs.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: wcstombs.3,v 1.5 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: wcstombs.3,v 1.6 2015/03/19 12:41:51 jmc Exp $
.\" $NetBSD: wcstombs.3,v 1.5 2003/09/08 17:54:32 wiz Exp $
.\"
.\" Copyright (c)2002 Citrus Project,
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: March 19 2015 $
.Dt WCSTOMBS 3
.Os
.\" ----------------------------------------------------------------------
@@ -45,9 +45,9 @@ converts the null-terminated wide-character string pointed to by
to the corresponding multibyte character string,
and stores it in the array pointed to by
.Fa s .
-This function may modify the first at most
+Up to
.Fa n
-bytes of the array pointed to by
+bytes are stored in
.Fa s .
Each character will be converted as if
.Xr wctomb 3