File: wcsnlen.3

package info (click to toggle)
manpages-ja 0.5.0.0.20100315-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 21,156 kB
  • ctags: 1
  • sloc: sh: 13,935; perl: 157; makefile: 114
file content (49 lines) | stat: -rw-r--r-- 1,676 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
.\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
.\"
.\" This is free documentation; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License as
.\" published by the Free Software Foundation; either version 2 of
.\" the License, or (at your option) any later version.
.\"
.\" References consulted:
.\"   GNU glibc-2 source code and manual
.\"   Dinkumware C library reference http://www.dinkumware.com/
.\"   OpenGroup's Single Unix specification http://www.UNIX-systems.org/online.html
.\"
.\" About this Japanese page, please contact to JM Project <JM@linux.or.jp>
.\" Translated Tue Oct 19 02:22:50 JST 1999
.\"           by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
.\"
.TH WCSNLEN 3  2007-07-26 "GNU" "Linux Programmer's Manual"
.SH ̾
wcsnlen \- ĹΥ磻ʸʸĹ
.SH 
.nf
.B #define _GNU_SOURCE
.B #include <wchar.h>
.sp
.BI "size_t wcsnlen(const wchar_t *" s ", size_t " maxlen );
.fi
.SH 
.BR wcsnlen ()
ؿϡ
.BR strnlen (3)
ؿб磻ʸؿǤ롣
δؿϡ\fIs\fP ؤʸΥ磻ʸο֤Ϻ
\fImaxlen\fP ʸޤǤǤ롣ޤü L\(aq\\0\(aq ʸϴޤޤʤ
Ԥݤˤϡ
.BR wcsnlen ()
 \fIs\fP ؤ磻ʸκǽ
\fImaxlen\fP ʸ褷 \fIs+maxlen\fP ʸĶʸ
Ȥ뤳ȤϤʤ
.SH ֤
.BR wcsnlen ()
ؿϡ\fIwcslen(s)\fP ͤ \fImaxlen\fP 꾮
 \fIwcslen(s)\fP ֤뤤ϡ\fIs\fP ؤ磻ʸ
ǽ \fImaxlen\fP ʸ L\(aq\\0\(aq ʸޤޤƤʤ
\fImaxlen\fP ֤
.SH 
δؿ GNU ĥǤ롣
.SH Ϣ
.BR strnlen (3),
.BR wcslen (3)