File: mblen.3

package info (click to toggle)
manpages-ja 0.5.0.0.20050315-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 18,620 kB
  • ctags: 4
  • sloc: sh: 12,675; perl: 157; makefile: 106
file content (62 lines) | stat: -rw-r--r-- 2,521 bytes parent folder | download | duplicates (2)
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
50
51
52
53
54
55
56
57
58
59
60
61
62
.\" 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
.\"   ISO/IEC 9899:1999
.\"
.\" Japanese Version Copyright (c) 1999 HANATAKA Shinya
.\"         all rights reserved.
.\" Translated Tue Jan 11 00:56:22 JST 2000
.\"         by HANATAKA Shinya <hanataka@abyss.rim.or.jp>
.\"
.\"
.TH MBLEN 3  "July 25, 1999" "GNU" "Linux Programmer's Manual"
.SH ̾
mblen \- ΥޥХʸΥХȿ֤
.SH 
.nf
.B #include <stdlib.h>
.sp
.BI "int mblen(const char *" s ", size_t " n );
.fi
.SH 
\fIs\fP  NULL ݥ󥿡ǤʤС\fBmblen\fP ؿ \fIs\fP 
Ϥޤ \fIn\fP ХȤΥޥХʸ򸡺ơδ
ޥХʸФˤ mblen ؿΤߤѤŪ
̾ΤʤեȾ֤Ѥ롣ޥХʸʥ磻ʸǤʤ
\fIs\fP 񤵤Хȿ֤ޥХʸʥ磻ʸ
ʤ 0 ֤
.PP
\fIs\fP Ϥޤ \fIn\fP ХȤʥޥХʸޤ
ʤС\fBmblen\fP  \fI-1\fP ֤ޥХʸ
˾Ĺʥեȥ󥹤ޤޤƤ \fIn\fP >= \fIMB_CUR_MAX\fP
ξˤ⤳Τ褦ʤȤꤨ롣
.PP
\fIs\fP ϤޤޥХʸ󤬼δʸ
ʥޥХޤǤˤ⡢\fBmblen\fP  \fI-1\fP ֤
.PP
.\" The Dinkumware doc and the Single Unix specification say this, but
.\" glibc doesn't implement this.
\fIs\fP  NULL ݥ󥿡ʤС\fBmblen\fP ؿϤδؿΤߤ
Ѥ륷եȾ֤֤ᤷեȾ֤Ѥʸξ
ϥʳʸ椬եȾ֤ʤˤϥ֤
.SH ֤
\fBmblen\fP ؿ \fIs\fP ϤޤޥХ򸡺
ʥ磻ʸʳǧˤϤΥХȿ֤
ʥ磻ʸǧˤϥ֤ʥޥХ
䴰ʥޥХʸϤǤʤäˤ \-1 ֤
.SH 
ISO/ANSI C, UNIX98
.SH Ϣ
.BR mbrlen (3)
.SH 
\fBmblen\fP ưϸߤΥ LC_CTYPE ƥ˰¸Ƥ롣
.PP
\fBmbrlen\fP ؿƱǽΤɤ󥿥ե󶡤롣