diff options
author | tjr <tjr@FreeBSD.org> | 2002-09-07 04:07:00 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2002-09-07 04:07:00 +0000 |
commit | 64f61942de0b2ba87dee96bc2797d27fdc56d946 (patch) | |
tree | aefe2d6d8e85d78b7a18daa2bfd1da0b48539b4d /lib/libc/string | |
parent | ad5ac67c75cb6f81419d285b0cf5e7bd559c2098 (diff) | |
download | FreeBSD-src-64f61942de0b2ba87dee96bc2797d27fdc56d946.zip FreeBSD-src-64f61942de0b2ba87dee96bc2797d27fdc56d946.tar.gz |
Sync prototypes with <wchar.h> with respect to the restrict qualifier.
Diffstat (limited to 'lib/libc/string')
-rw-r--r-- | lib/libc/string/wmemchr.3 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/string/wmemchr.3 b/lib/libc/string/wmemchr.3 index 1843121..a448064 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 *s1" "const wchar_t *s2" "size_t n" +.Fn wmemcpy "wchar_t * restrict s1" "const wchar_t * restrict 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 *s1" "const wchar_t *s2" +.Fn wcscat "wchar_t * restrict s1" "const wchar_t * restrict 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 *s1" "const wchar_t *s2" +.Fn wcscpy "wchar_t * restrict s1" "const wchar_t * restrict 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 *s1" "const wchar_t *s2" "size_t n" +.Fn wcsncat "wchar_t * restrict s1" "const wchar_t * restrict 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 *s1" "const wchar_t *s2" "size_t n" +.Fn wcsncpy "wchar_t * restrict s1" "const wchar_t * restrict s2" "size_t n" .Ft wchar_t * .Fn wcspbrk "const wchar_t *s1" "const wchar_t *s2" .Ft wchar_t * @@ -107,7 +107,7 @@ .Ft size_t .Fn wcsspn "const wchar_t *s1" "const wchar_t *s2" .Ft wchar_t * -.Fn wcsstr "const wchar_t *s1" "const wchar_t *s2" +.Fn wcsstr "const wchar_t * restrict s1" "const wchar_t * restrict s2" .Sh DESCRIPTION The functions implement string manipulation operations over wide character strings. |