]> git.saurik.com Git - apple/libc.git/blobdiff - string/wmemchr.3
Libc-498.1.1.tar.gz
[apple/libc.git] / string / wmemchr.3
index cb41fc209d19817daa04a211024344e9d0a66d21..8638b59c74c4454f6a89825a355850bce2dd7b5f 100644 (file)
 .\"
 .\"     from: @(#)strcpy.3     8.1 (Berkeley) 6/4/93
 .\"
-.\" $FreeBSD: src/lib/libc/string/wmemchr.3,v 1.5 2001/10/03 05:19:47 bde Exp $
+.\" $FreeBSD: src/lib/libc/string/wmemchr.3,v 1.6 2002/09/07 04:07:00 tjr 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 ,
 .Nm wcspbrk ,
 .Nm wcsrchr ,
 .Nm wcsspn ,
-.Nm wcsstr
+.Nm wcsstr ,
+.Nm wmemchr ,
+.Nm wmemcmp ,
+.Nm wmemcpy ,
+.Nm wmemmove ,
+.Nm wmemset
 .Nd wide character string manipulation operations
 .Sh LIBRARY
 .Lb libc
 .Sh SYNOPSIS
 .In wchar.h
 .Ft wchar_t *
-.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 *
-.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"
+.Fo wcscat
+.Fa "wchar_t *restrict ws1"
+.Fa "const wchar_t *restrict ws2"
+.Fc
 .Ft wchar_t *
-.Fn wcscat "wchar_t *s1" "const wchar_t *s2"
-.Ft wchar_t *
-.Fn wcschr "const wchar_t *s" "wchar_t c"
+.Fo wcschr
+.Fa "const wchar_t *ws"
+.Fa "wchar_t wc"
+.Fc
 .Ft int
-.Fn wcscmp "const wchar_t *s1" "const wchar_t *s2"
+.Fo wcscmp
+.Fa "const wchar_t *ws1"
+.Fa "const wchar_t *ws2"
+.Fc
 .Ft wchar_t *
-.Fn wcscpy "wchar_t *s1" "const wchar_t *s2"
+.Fo wcscpy
+.Fa "wchar_t *restrict ws1"
+.Fa "const wchar_t *restrict ws2"
+.Fc
 .Ft size_t
-.Fn wcscspn "const wchar_t *s1" "const wchar_t *s2"
+.Fo wcscspn
+.Fa "const wchar_t *ws1"
+.Fa "const wchar_t *ws2"
+.Fc
 .Ft size_t
-.Fn wcslcat "wchar_t *s1" "const wchar_t *s2" "size_t n"
+.Fo wcslcat
+.Fa "wchar_t *ws1"
+.Fa "const wchar_t *ws2"
+.Fa "size_t n"
+.Fc
 .Ft size_t
-.Fn wcslcpy "wchar_t *s1" "const wchar_t *s2" "size_t n"
+.Fo wcslcpy
+.Fa "wchar_t *ws1"
+.Fa "const wchar_t *ws2"
+.Fa "size_t n"
+.Fc
 .Ft size_t
-.Fn wcslen "const wchar_t *s"
+.Fo wcslen
+.Fa "const wchar_t *ws"
+.Fc
 .Ft wchar_t *
-.Fn wcsncat "wchar_t *s1" "const wchar_t *s2" "size_t n"
+.Fo wcsncat
+.Fa "wchar_t *restrict ws1"
+.Fa "const wchar_t *restrict ws2"
+.Fa "size_t n"
+.Fc
 .Ft int
-.Fn wcsncmp "const wchar_t *s1" "const wchar_t * s2" "size_t n"
+.Fo wcsncmp
+.Fa "const wchar_t *ws1"
+.Fa "const wchar_t *ws2"
+.Fa "size_t n"
+.Fc
 .Ft wchar_t *
-.Fn wcsncpy "wchar_t *s1" "const wchar_t *s2" "size_t n"
+.Fo wcsncpy
+.Fa "wchar_t *restrict ws1"
+.Fa "const wchar_t *restrict ws2"
+.Fa "size_t n"
+.Fc
 .Ft wchar_t *
-.Fn wcspbrk "const wchar_t *s1" "const wchar_t *s2"
+.Fo wcspbrk
+.Fa "const wchar_t *ws1"
+.Fa "const wchar_t *ws2"
+.Fc
 .Ft wchar_t *
-.Fn wcsrchr "const wchar_t *s" "wchar_t c"
+.Fo wcsrchr
+.Fa "const wchar_t *ws"
+.Fa "wchar_t wc"
+.Fc
 .Ft size_t
-.Fn wcsspn "const wchar_t *s1" "const wchar_t *s2"
+.Fo wcsspn
+.Fa "const wchar_t *ws1"
+.Fa "const wchar_t *ws2"
+.Fc
+.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 *
-.Fn wcsstr "const wchar_t *s1" "const wchar_t *s2"
+.Fo wmemset
+.Fa "wchar_t *ws"
+.Fa "wchar_t wc"
+.Fa "size_t n"
+.Fc
 .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 ,