summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/wmemchr.3
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2001-10-03 05:19:47 +0000
committerbde <bde@FreeBSD.org>2001-10-03 05:19:47 +0000
commitfb673f2a687fb84f4d9385ce020f86f996c28e4d (patch)
tree38526e14a4264f7d6fde7aa87d07452b90cebb45 /lib/libc/string/wmemchr.3
parent62ec0d2249e94617fda5d0d3e201399e020dbe61 (diff)
downloadFreeBSD-src-fb673f2a687fb84f4d9385ce020f86f996c28e4d.zip
FreeBSD-src-fb673f2a687fb84f4d9385ce020f86f996c28e4d.tar.gz
Fixed syntax errors in synopsis. The restrict keyword doesn't exist yet.
The corresponding bugs in <wchar.h> have no effect because the function prototypes there don't have args so the __restrict "keyword" is misinterpreted as an arg.
Diffstat (limited to 'lib/libc/string/wmemchr.3')
-rw-r--r--lib/libc/string/wmemchr.310
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/string/wmemchr.3 b/lib/libc/string/wmemchr.3
index 24ed0b4..1843121 100644
--- a/lib/libc/string/wmemchr.3
+++ b/lib/libc/string/wmemchr.3
@@ -73,19 +73,19 @@
.Ft int
.Fn wmemcmp "const wchar_t *s1" "const wchar_t *s2" "size_t n"
.Ft wchar_t *
-.Fn wmemcpy "wchar_t * restrict s1" "const wchar_t * restrict s2" "size_t n"
+.Fn wmemcpy "wchar_t *s1" "const wchar_t *s2" "size_t n"
.Ft wchar_t *
.Fn wmemmove "wchar_t *s1" "const wchar_t *s2" "size_t n"
.Ft wchar_t *
.Fn wmemset "wchar_t *s" "wchar_t c" "size_t n"
.Ft wchar_t *
-.Fn wcscat "wchar_t * restrict s1" "const wchar_t * restrict s2"
+.Fn wcscat "wchar_t *s1" "const wchar_t *s2"
.Ft wchar_t *
.Fn wcschr "const wchar_t *s" "wchar_t c"
.Ft int
.Fn wcscmp "const wchar_t *s1" "const wchar_t *s2"
.Ft wchar_t *
-.Fn wcscpy "wchar_t * restrict s1" "const wchar_t * restrict s2"
+.Fn wcscpy "wchar_t *s1" "const wchar_t *s2"
.Ft size_t
.Fn wcscspn "const wchar_t *s1" "const wchar_t *s2"
.Ft size_t
@@ -95,11 +95,11 @@
.Ft size_t
.Fn wcslen "const wchar_t *s"
.Ft wchar_t *
-.Fn wcsncat "wchar_t * restrict s1" "const wchar_t * restrict s2" "size_t n"
+.Fn wcsncat "wchar_t *s1" "const wchar_t *s2" "size_t n"
.Ft int
.Fn wcsncmp "const wchar_t *s1" "const wchar_t * s2" "size_t n"
.Ft wchar_t *
-.Fn wcsncpy "wchar_t * restrict s1" "const wchar_t * restrict s2" "size_t n"
+.Fn wcsncpy "wchar_t *s1" "const wchar_t *s2" "size_t n"
.Ft wchar_t *
.Fn wcspbrk "const wchar_t *s1" "const wchar_t *s2"
.Ft wchar_t *
OpenPOWER on IntegriCloud