Loading...
--- Libc/Libc-583/string/wmemchr.3
+++ Libc/Libc-262/string/wmemchr.3
@@ -37,12 +37,17 @@
.\"
.\" from: @(#)strcpy.3 8.1 (Berkeley) 6/4/93
.\"
-.\" $FreeBSD: src/lib/libc/string/wmemchr.3,v 1.6 2002/09/07 04:07:00 tjr Exp $
+.\" $FreeBSD: src/lib/libc/string/wmemchr.3,v 1.5 2001/10/03 05:19:47 bde Exp $
.\"
.Dd December 22, 2000
.Dt WMEMCHR 3
.Os
.Sh NAME
+.Nm wmemchr ,
+.Nm wmemcmp ,
+.Nm wmemcpy ,
+.Nm wmemmove ,
+.Nm wmemset ,
.Nm wcscat ,
.Nm wcschr ,
.Nm wcscmp ,
@@ -57,131 +62,57 @@
.Nm wcspbrk ,
.Nm wcsrchr ,
.Nm wcsspn ,
-.Nm wcsstr ,
-.Nm wmemchr ,
-.Nm wmemcmp ,
-.Nm wmemcpy ,
-.Nm wmemmove ,
-.Nm wmemset
+.Nm wcsstr
.Nd wide character string manipulation operations
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
.In wchar.h
.Ft wchar_t *
-.Fo wcscat
-.Fa "wchar_t *restrict ws1"
-.Fa "const wchar_t *restrict ws2"
-.Fc
+.Fn wmemchr "const wchar_t *s" "wchar_t c" "size_t n"
+.Ft int
+.Fn wmemcmp "const wchar_t *s1" "const wchar_t *s2" "size_t n"
.Ft wchar_t *
-.Fo wcschr
-.Fa "const wchar_t *ws"
-.Fa "wchar_t wc"
-.Fc
+.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 *s1" "const wchar_t *s2"
+.Ft wchar_t *
+.Fn wcschr "const wchar_t *s" "wchar_t c"
.Ft int
-.Fo wcscmp
-.Fa "const wchar_t *ws1"
-.Fa "const wchar_t *ws2"
-.Fc
+.Fn wcscmp "const wchar_t *s1" "const wchar_t *s2"
.Ft wchar_t *
-.Fo wcscpy
-.Fa "wchar_t *restrict ws1"
-.Fa "const wchar_t *restrict ws2"
-.Fc
+.Fn wcscpy "wchar_t *s1" "const wchar_t *s2"
.Ft size_t
-.Fo wcscspn
-.Fa "const wchar_t *ws1"
-.Fa "const wchar_t *ws2"
-.Fc
+.Fn wcscspn "const wchar_t *s1" "const wchar_t *s2"
.Ft size_t
-.Fo wcslcat
-.Fa "wchar_t *ws1"
-.Fa "const wchar_t *ws2"
-.Fa "size_t n"
-.Fc
+.Fn wcslcat "wchar_t *s1" "const wchar_t *s2" "size_t n"
.Ft size_t
-.Fo wcslcpy
-.Fa "wchar_t *ws1"
-.Fa "const wchar_t *ws2"
-.Fa "size_t n"
-.Fc
+.Fn wcslcpy "wchar_t *s1" "const wchar_t *s2" "size_t n"
.Ft size_t
-.Fo wcslen
-.Fa "const wchar_t *ws"
-.Fc
+.Fn wcslen "const wchar_t *s"
.Ft wchar_t *
-.Fo wcsncat
-.Fa "wchar_t *restrict ws1"
-.Fa "const wchar_t *restrict ws2"
-.Fa "size_t n"
-.Fc
+.Fn wcsncat "wchar_t *s1" "const wchar_t *s2" "size_t n"
.Ft int
-.Fo wcsncmp
-.Fa "const wchar_t *ws1"
-.Fa "const wchar_t *ws2"
-.Fa "size_t n"
-.Fc
+.Fn wcsncmp "const wchar_t *s1" "const wchar_t * s2" "size_t n"
.Ft wchar_t *
-.Fo wcsncpy
-.Fa "wchar_t *restrict ws1"
-.Fa "const wchar_t *restrict ws2"
-.Fa "size_t n"
-.Fc
+.Fn wcsncpy "wchar_t *s1" "const wchar_t *s2" "size_t n"
.Ft wchar_t *
-.Fo wcspbrk
-.Fa "const wchar_t *ws1"
-.Fa "const wchar_t *ws2"
-.Fc
+.Fn wcspbrk "const wchar_t *s1" "const wchar_t *s2"
.Ft wchar_t *
-.Fo wcsrchr
-.Fa "const wchar_t *ws"
-.Fa "wchar_t wc"
-.Fc
+.Fn wcsrchr "const wchar_t *s" "wchar_t c"
.Ft size_t
-.Fo wcsspn
-.Fa "const wchar_t *ws1"
-.Fa "const wchar_t *ws2"
-.Fc
+.Fn wcsspn "const wchar_t *s1" "const wchar_t *s2"
.Ft wchar_t *
-.Fo wcsstr
-.Fa "const wchar_t *restrict ws1"
-.Fa "const wchar_t *restrict ws2"
-.Fc
-.Ft wchar_t *
-.Fo wmemchr
-.Fa "const wchar_t *ws"
-.Fa "wchar_t wc"
-.Fa "size_t n"
-.Fc
-.Ft int
-.Fo wmemcmp
-.Fa "const wchar_t *ws1"
-.Fa "const wchar_t *ws2"
-.Fa "size_t n"
-.Fc
-.Ft wchar_t *
-.Fo wmemcpy
-.Fa "wchar_t *restrict ws1"
-.Fa "const wchar_t *restrict ws2"
-.Fa "size_t n"
-.Fc
-.Ft wchar_t *
-.Fo wmemmove
-.Fa "wchar_t *ws1"
-.Fa "const wchar_t *ws2"
-.Fa "size_t n"
-.Fc
-.Ft wchar_t *
-.Fo wmemset
-.Fa "wchar_t *ws"
-.Fa "wchar_t wc"
-.Fa "size_t n"
-.Fc
+.Fn wcsstr "const wchar_t *s1" "const wchar_t *s2"
.Sh DESCRIPTION
-The functions implement string manipulation operations
-over wide character strings.
-For a detailed description,
-refer to documents for the respective single-byte counterpart, such as
+The functions implement string manipulation operations over wide character
+strings.
+For a detailed description, refer to documents for the respective single-byte
+counterpart, such as
.Xr memchr 3 .
.Sh SEE ALSO
.Xr memchr 3 ,