summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale/multibyte.3
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2002-09-01 07:08:22 +0000
committertjr <tjr@FreeBSD.org>2002-09-01 07:08:22 +0000
commit2e5584e86420f659df3bd35d2c10f4f10c11738b (patch)
tree2b9a13bd73596a27de10f1bd7015dd2fa5693281 /lib/libc/locale/multibyte.3
parent8485252733a0bbf11a62b6ea1b8f32022445bb33 (diff)
downloadFreeBSD-src-2e5584e86420f659df3bd35d2c10f4f10c11738b.zip
FreeBSD-src-2e5584e86420f659df3bd35d2c10f4f10c11738b.tar.gz
Add restrict qualifiers to the arguments of mbstowcs, mbtowc() and
wcstombs().
Diffstat (limited to 'lib/libc/locale/multibyte.3')
-rw-r--r--lib/libc/locale/multibyte.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/locale/multibyte.3 b/lib/libc/locale/multibyte.3
index 6cfaa7a..7069b7c 100644
--- a/lib/libc/locale/multibyte.3
+++ b/lib/libc/locale/multibyte.3
@@ -52,11 +52,11 @@
.Ft int
.Fn mblen "const char *mbchar" "size_t nbytes"
.Ft size_t
-.Fn mbstowcs "wchar_t *wcstring" "const char *mbstring" "size_t nwchars"
+.Fn mbstowcs "wchar_t *restrict wcstring" "const char *restrict mbstring" "size_t nwchars"
.Ft int
-.Fn mbtowc "wchar_t *wcharp" "const char *mbchar" "size_t nbytes"
+.Fn mbtowc "wchar_t *restrict wcharp" "const char *restrict mbchar" "size_t nbytes"
.Ft size_t
-.Fn wcstombs "char *mbstring" "const wchar_t *wcstring" "size_t nbytes"
+.Fn wcstombs "char *restrict mbstring" "const wchar_t *restrict wcstring" "size_t nbytes"
.Ft int
.Fn wctomb "char *mbchar" "wchar_t wchar"
.Sh DESCRIPTION
OpenPOWER on IntegriCloud