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 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130
|
.\" Copyright (c) 2001 Markus Kuhn <mkuhn@acm.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 manual
.\" OpenGroup's Single Unix specification http://www.UNIX-systems.org/online.html
.\"
.\" Corrected prototype, 2002-10-18, aeb
.\"
.\" Japanese Version Copyright (c) 2001
.\" UCHIDA Norihiro all rights reserved.
.\" Translated Sun Jul 15 2001
.\" by UCHIDA Norihiro <KY4N-UCD@asahi-net.or.jp>
.\"
.TH NL_LANGINFO 3 "May 11, 2001" "GNU" "Linux Programmer's Manual"
.SH ̾
nl_langinfo \- ȥξ䤤碌
.SH
.nf
.B #include <langinfo.h>
.sp
.BI "char *nl_langinfo(nl_item " item );
.fi
.SH
\fBnl_langinfo\fP ؿϡ
.BR localeconv (3)
ʥؤΥˡ롣
륫ƥθġǤɲäǤ䤤碌뤳ȤǤ롣
.PP
<langinfo.h> ȤƤơ
\fIitem\fP ˻ǤǤʲ˼:
.TP
.BR CODESET \ (LC_CTYPE)
줿Ѥʸ̾ʸ֤
ʸ̾ȤƤϡ"UTF-8" "ISO-8859-1""ANSI_X3.4-1968"
( US-ASCII Ȥ̾褯ΤƤ) ʤɤ롣
ʸϡ"locale charmap" ¹ԤΤƱǤ롣
ʸ̾ΥꥹȤˤϡ"locale \-m" ¹ԤȤ褤
:
.BR locale (1)
.TP
.B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UNIX (The Single UNIX\*R Specification), Version 2
.SH Ϣ
.BR locale (1),
.BR localeconv (3),
.BR setlocale (3),
.BR charsets (7),
.BR locale (7)
GNU C 饤֥ꡦեޥ˥奢
|