1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
3 .\" This is free documentation; you can redistribute it and/or
4 .\" modify it under the terms of the GNU General Public License as
5 .\" published by the Free Software Foundation; either version 2 of
6 .\" the License, or (at your option) any later version.
8 .\" References consulted:
9 .\" GNU glibc-2 source code and manual
10 .\" Dinkumware C library reference http://www.dinkumware.com/
11 .\" OpenGroup's Single Unix specification http://www.UNIX-systems.org/online.html
13 .\" About this Japanese page, please contact to JM Project <JM@linux.or.jp>
14 .\" Translated Sat Oct 23 18:44:42 JST 1999
15 .\" by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
17 .TH WCSWIDTH 3 2007-07-26 "GNU" "Linux Programmer's Manual"
19 wcswidth \- ¸ÇÄꥵ¥¤¥º¤Î¥ï¥¤¥Éʸ»úʸ»úÎó¤Îɽ¼¨¤ËɬÍפʥ«¥é¥à¿ô¤òµá¤á¤ë
22 .B #define _XOPEN_SOURCE
25 .BI "int wcswidth(const wchar_t *" s ", size_t " n );
29 ´Ø¿ô¤Ï¡¢\fIs\fP ¤¬»Ø¤¹¥ï¥¤¥Éʸ»úʸ»úÎó¤òɽ¸½¤¹¤ë¤¿¤á¤Ë
30 ɬÍפʥ«¥é¥à¿ô¤òÊÖ¤¹¡£¤¿¤À¤·¡¢ºÇÂç \fIn\fP ʸ»ú¤·¤«½èÍý¤·¤Ê¤¤¡£
31 °õºþ²Äǽ¤Ç¤Ê¤¤¥ï¥¤¥Éʸ»ú¤¬Ê¸»úÎó¤Ë´Þ¤Þ¤ì¤ë¾ì¹ç¤Ë¤Ï¡¢ \-1 ¤¬ÊÖ¤µ¤ì¤ë¡£
34 ´Ø¿ô¤Ï¡¢¥ï¥¤¥Éʸ»úʸ»úÎó \fIs\fP ¤Îɽ¸½¤ËɬÍפʥ«¥é¥à¿ô
35 ¤òÊÖ¤¹¡£¤¿¤À¤·¥ï¥¤¥Éʸ»úʸ»úÎó¤ÏºÇÂç \fIn\fP ¸Ä¤ËÀÚ¤êµÍ¤á¤é¤ì¤ë¡£
40 ¤ÎÆ°ºî¤Ï¸½ºß¤Î¥í¥±¡¼¥ë¤Î