OSDN Git Service

(split) Apply minor changes from v3.32 to v3.35 in the upstream.
[linuxjm/LDP_man-pages.git] / draft / man3 / strlen.3
1 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
2 .\"
3 .\" Permission is granted to make and distribute verbatim copies of this
4 .\" manual provided the copyright notice and this permission notice are
5 .\" preserved on all copies.
6 .\"
7 .\" Permission is granted to copy and distribute modified versions of this
8 .\" manual under the conditions for verbatim copying, provided that the
9 .\" entire resulting derived work is distributed under the terms of a
10 .\" permission notice identical to this one.
11 .\"
12 .\" Since the Linux kernel and libraries are constantly changing, this
13 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
14 .\" responsibility for errors or omissions, or for damages resulting from
15 .\" the use of the information contained herein.  The author(s) may not
16 .\" have taken the same level of care in the production of this manual,
17 .\" which is licensed free of charge, as they might when working
18 .\" professionally.
19 .\"
20 .\" Formatted or processed versions of this manual, if unaccompanied by
21 .\" the source, must acknowledge the copyright and authors of this work.
22 .\"
23 .\" References consulted:
24 .\"     Linux libc source code
25 .\"     Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
26 .\"     386BSD man pages
27 .\" Modified Sat Jul 24 18:02:26 1993 by Rik Faith (faith@cs.unc.edu)
28 .\"
29 .\" Japanese Version Copyright (c) 1997 YOSHINO Takashi
30 .\"       all rights reserved.
31 .\" Translated Mon Jan 20 18:51:38 JST 1997
32 .\"       by YOSHINO Takashi <yoshino@civil.jcn.nihon-u.ac.jp>
33 .\"
34 .TH STRLEN 3  2011-09-28 "GNU" "Linux Programmer's Manual"
35 .SH Ì¾Á°
36 strlen \- Ê¸»úÎó¤ÎŤµ¤ò·×»»¤¹¤ë
37 .SH ½ñ¼°
38 .nf
39 .B #include <string.h>
40 .sp
41 .BI "size_t strlen(const char *" s );
42 .fi
43 .SH ÀâÌÀ
44 .\"O The
45 .\"O .BR strlen ()
46 .\"O function calculates the length of the string
47 .\"O \fIs\fP, excluding the terminating null byte (\(aq\\0\(aq).
48 .BR strlen ()
49 ´Ø¿ô¤Ïʸ»úÎó \fIs\fP ¤ÎŤµ¤ò·×»»¤¹¤ë¡£
50 ¤³¤Î¤È¤­¡¢½ªÃ¼ NULL ¥Ð¥¤¥È (\(aq\\0\(aq) ¤Ï·×»»¤Ë´Þ¤Þ¤ì¤Ê¤¤¡£
51 .SH ÊÖ¤êÃÍ
52 .BR strlen ()
53 ´Ø¿ô¤Ï \fIs\fP ¤ÎÃæ¤Îʸ»ú¿ô¤òÊÖ¤¹¡£
54 .SH ½àµò
55 SVr4, 4.3BSD, C89, C99.
56 .SH ´ØÏ¢¹àÌÜ
57 .BR string (3),
58 .BR strnlen (3),
59 .BR wcslen (3),
60 .BR wcsnlen (3)