1 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
3 .\" Japanese Version Copyright (c) 1997 HIROFUMI Nishizuka
4 .\" all rights reserved.
5 .\" Translated Tue Dec 16 10:30:17 JST 1997
6 .\" by HIROFUMI Nishizuka <nishi@rpts.cl.nec.co.jp>
8 .\" Permission is granted to make and distribute verbatim copies of this
9 .\" manual provided the copyright notice and this permission notice are
10 .\" preserved on all copies.
12 .\" Permission is granted to copy and distribute modified versions of this
13 .\" manual under the conditions for verbatim copying, provided that the
14 .\" entire resulting derived work is distributed under the terms of a
15 .\" permission notice identical to this one
17 .\" Since the Linux kernel and libraries are constantly changing, this
18 .\" manual page may be incorrect or out-of-date. The author(s) assume no
19 .\" responsibility for errors or omissions, or for damages resulting from
20 .\" the use of the information contained herein. The author(s) may not
21 .\" have taken the same level of care in the production of this manual,
22 .\" which is licensed free of charge, as they might when working
25 .\" Formatted or processed versions of this manual, if unaccompanied by
26 .\" the source, must acknowledge the copyright and authors of this work.
28 .\" References consulted:
29 .\" Linux libc source code
30 .\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
32 .\" Modified Sat Jul 24 17:41:18 1993 by Rik Faith (faith@cs.unc.edu)
33 .TH WCTOMB 3 "March 29, 1993" "GNU" "Linux Programmer's Manual"
35 wctomb \- ¥ï¥¤¥Éʸ»ú¤ò¥Þ¥ë¥Á¥Ð¥¤¥Èʸ»ú¤ËÊÑ´¹¤¹¤ë
38 .B #include <stdlib.h>
40 .BI "int wctomb(char *" s ", wchar_t " wchar );
43 \fBwctomb()\fP ´Ø¿ô¤Ï¥ï¥¤¥Éʸ»ú \fIwchar\fP ¤ò¥Þ¥ë¥Á¥Ð¥¤¥Èʸ»ú¤ËÊÑ´¹¤·¡¢
44 ¤â¤· \fIs\fP ¤¬ NULL ¤Ç¤Ê¤±¤ì¤Ð¤½¤Î¥Þ¥ë¥Á¥Ð¥¤¥Èʸ»ú¤ò \fIs\fP ¤Ç
45 ¼¨¤µ¤ì¤ë°ÌÃ֤˳ÊǼ¤¹¤ë¡£
47 \fBwctomb()\fP ¤Ï¥Þ¥ë¥Á¥Ð¥¤¥Èʸ»ú¤Î¥Ð¥¤¥È¿ô¤òÊÖ¤¹¡£
48 ¥ï¥¤¥Éʸ»ú¤¬Í¸ú¤Ç¤Ê¤¤¾ì¹ç¤Ï \-1 ¤òÊÖ¤¹¡£
52 .BR mblen "(3), " mbstowcs "(3), " mbtowc "(3), " wcstombs (3)