OSDN Git Service

(split) LDP: Update original to v3.37.
[linuxjm/LDP_man-pages.git] / original / man3 / wcslen.3
1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
2 .\"
3 .\" This is free documentation; you can redistribute it and/or
4 .\" modify it under the terms of the GNU General Public License as
5 .\" published by the Free Software Foundation; either version 2 of
6 .\" the License, or (at your option) any later version.
7 .\"
8 .\" References consulted:
9 .\"   GNU glibc-2 source code and manual
10 .\"   Dinkumware C library reference http://www.dinkumware.com/
11 .\"   OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
12 .\"   ISO/IEC 9899:1999
13 .\"
14 .TH WCSLEN 3  2011-09-28 "GNU" "Linux Programmer's Manual"
15 .SH NAME
16 wcslen \- determine the length of a wide-character string
17 .SH SYNOPSIS
18 .nf
19 .B #include <wchar.h>
20 .sp
21 .BI "size_t wcslen(const wchar_t *" s );
22 .fi
23 .SH DESCRIPTION
24 The
25 .BR wcslen ()
26 function is the wide-character equivalent
27 of the
28 .BR strlen (3)
29 function.
30 It determines the length of the wide-character string pointed to
31 by \fIs\fP, excluding the terminating null wide character (L\(aq\\0\(aq).
32 .SH "RETURN VALUE"
33 The
34 .BR wcslen ()
35 function returns the
36 number of wide characters in \fIs\fP.
37 .SH "CONFORMING TO"
38 C99.
39 .SH "SEE ALSO"
40 .BR strlen (3)