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
|
.\" 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
.\"
.\" About this Japanese page, please contact to JM Project <JM@linux.or.jp>
.\" Translated Sat Oct 23 20:06:18 JST 1999
.\" by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
.\" Updated Fri Aug 16 01:32:21 JST 2002
.\" by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
.\"
.TH WCWIDTH 3 1999-07-25 "GNU" "Linux Programmer's Manual"
.SH ̾
wcwidth \- 磻ʸɬפȤ륫Ĵ٤
.SH
.nf
.B #define _XOPEN_SOURCE
.B #include <wchar.h>
.sp
.BI "int wcwidth(wchar_t " c );
.fi
.SH
.BR wcwidth ()
ؿϡ磻ʸ \fIc\fP ɽ뤿ɬפʥ
֤\fIc\fP ǽʸʤСͤ 0 ʾǤ롣
\fIc\fP L'\\0' ʤСͤ 0 Ǥ롣
ʳξˤ \-1 ֤롣
.SH ֤
.BR wcwidth ()
ؿϡ\fIc\fP ɽɬפʥ֤
.SH
POSIX.1-2001.
glibc 2.2.5 ǤϰʲΥץȥѤƤȤ
դ뤳ȡ
.br
.nf
.BI "int wcwidth(wint_t " c );
.fi
.SH
.BR wcwidth ()
ưϡߤΥ
.B LC_CTYPE
ƥ˰¸롣
.SH Ϣ
.BR iswprint (3),
.BR wcswidth (3),
.BR feature_test_macros (7)
|