File: wcsrtombs.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 (87 lines) | stat: -rw-r--r-- 3,030 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
.\" 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
.\"
.\" About this Japanese page, please contact to JM Project <JM@linux.or.jp>
.\" Translated Sat Oct 23 15:38:11 JST 1999
.\"           by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
.\"
.TH WCSRTOMBS 3 1999-07-25 "GNU" "Linux Programmer's Manual"
.SH ̾
wcsrtombs \- 磻ʸʸޥХʸѴ
.SH 
.nf
.B #include <wchar.h>
.sp
.BI "size_t wcsrtombs(char *" dest ", const wchar_t **" src ,
.BI "                 size_t " len ", mbstate_t *" ps );
.fi
.SH 
\fIdest\fP  NULL ݥ󥿤ǤʤС
.BR wcsrtombs ()
ؿ
磻ʸʸ \fI*src\fP  \fIdest\fP ؤޥХʸ
Ѵ롣 \fIlen\fP ХȤޤǤ \fIdest\fP ˽񤭹ޤ롣
եȾ \fI*ps\fP Ϲ롣ºݤθ̤ȤƤϡѴϰʲ
ưƱˤʤ:
.IR "wcrtomb(dest, *src, ps)"
Ƥӡ֤ä顢
\fIdest\fP 񤭹Хȿ䤷\fI*src\fP  1 䤹
ơwcrtomb ֤¤ꤳ򷫤֤
Ѵߤޤͳ 3 Ĺͤ:
.PP
(ߤΥ˴Ť)ޥХɽǤʤ磻ʸ
вä硣ξϡ\fI*src\fP ʥ磻ʸؤ֤ˤʤꡢ
.I (size_t)\ \-1
֤졢
.I errno
 \fBEILSEQ\fP ꤵ롣
.PP
2. ŤˤѴߤ줿硣ξˤϡ\fI*src\fP ϼ
Ѵ٤磻ʸؤ֤ˤʤꡢ\fIdest\fP ˽񤭹ޤ
Хȿ֤롣
.PP
3. 磻ʸ󤬽ü L\(aq\\0\(aq (ˤ \fI*ps\fP ֤᤹
Ѥ)ޤѴ줿硣ξˤ \fI*src\fP
 NULL ꤵ졢\fIdest\fP ˽񤭹ޤ줿Хȿ֤
(ü \(aq\\0\(aq Ͽʤ)
.PP
\fIdest\fP  NULL ʤ \fIlen\fP ̵뤵ҤΤ褦ѴԤ
뤬Ѵ줿Хȥǡϥ˽񤭽ФʤȡĹ
¤ʤۤʤ롣
.PP
嵭Τξ⡢\fIps\fP  NULL ݥ󥿤ʤСwcsnrtombs ؿ
ΤäƤŪƿ̾ξ֤եȾ֤Ѥ롣
.PP
ץޤϾʤȤ \fIlen\fP ХȤΰ \fIdest\fP ˳ݤ
Фʤʤ
.SH ֤
.BR wcsrtombs ()
ϡѴ줿ޥХΥХȿ֤
ˤϽü null ХȤϴޤޤʤ
ѴǤʤ磻ʸ˽вäˤ
.I (size_t)\ \-1
֤졢
.I errno
 \fBEILSEQ\fP ꤵ롣
.SH 
C99.
.BR wcsrtombs ()
ưϸߤΥ
.B LC_CTYPE
ƥ˰¸롣
.PP
\fIps\fP  NULL ϤݤưϥޥåɥդǤʤ
.SH Ϣ
.BR iconv (3),
.BR wcsnrtombs (3),
.BR wcstombs (3)