File: wcsrtombs.3

package info (click to toggle)
manpages-ja 0.4.0.0.20020315-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 14,808 kB
  • ctags: 4
  • sloc: sh: 9,595; perl: 157; makefile: 62
file content (77 lines) | stat: -rw-r--r-- 3,034 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
.\" 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  "July 25, 1999" "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 ݥ󥿤ǤʤС\fBwcsrtombs\fP ؿ
磻ʸʸ \fI*src\fP  \fIdest\fP ؤޥХʸ
Ѵ롣 \fIlen\fP ХȤޤǤ \fIdest\fP ˽񤭹ޤ롣
եȾ \fI*ps\fP Ϲ롣ºݤθ̤ȤƤϡѴϰʲ
ưƱˤʤ:
wcrtomb(\fIdest\fP,\fI*src\fP,\fIps\fP) Ƥӡ֤ä顢
\fIdest\fP 񤭹Хȿ䤷\fI*src\fP  1 䤹
ơwcrtomb ֤¤ꤳ򷫤֤
Ѵߤޤͳ 3 Ĺͤ:
.PP
(ߤΥ˴Ť)ޥХɽǤʤ磻ʸ
вä硣ξϡ\fI*src\fP ʥ磻ʸؤ֤
ʤꡢ(size_t)(-1) ֤졢
.I errno
 \fBEILSEQ\fP ꤵ롣
.PP
2. ŤˤѴߤ줿硣ξˤϡ\fI*src\fP ϼ
Ѵ٤磻ʸؤ֤ˤʤꡢ\fIdest\fP ˽񤭹ޤ
Хȿ֤롣
.PP
3. 磻ʸ󤬽ü L'\\0' (ˤ \fI*ps\fP ֤᤹
Ѥ)ޤѴ줿硣ξˤ \fI*src\fP
 NULL ꤵ졢\fIdest\fP ˽񤭹ޤ줿Хȿ֤
(ü '\\0' Ͽʤ)
.PP
\fIdest\fP  NULL ʤ \fIlen\fP ̵뤵ҤΤ褦ѴԤ
뤬Ѵ줿Хȥǡϥ˽񤭽ФʤȡĹ
¤ʤۤʤ롣
.PP
嵭Τξ⡢\fIps\fP  NULL ݥ󥿤ʤСwcsnrtombs ؿ
ΤäƤŪƿ̾ξ֤եȾ֤Ѥ롣
.PP
ץޤϾʤȤ \fIlen\fP ХȤΰ \fIdest\fP ˳ݤ
Фʤʤ
.SH ֤
\fBwcsrtombs\fP ϡѴ줿ޥХΥХȿ֤
ˤϽü null ХȤϴޤޤʤ
ѴǤʤ磻ʸ˽вäˤ (size_t)(-1) ֤졢
.I errno
 \fBEILSEQ\fP ꤵ롣
.SH 
ISO/ANSI C, UNIX98
.SH Ϣ
.BR wcstombs (3),
.BR wcsnrtombs (3),
.BR iconv (3)
\fBwcsrtombs\fP ưϸߤΥ LC_CTYPE ƥ˰¸롣
.PP
\fIps\fP  NULL ϤݤưϥޥåɥդǤʤ