📄 intro.3int
字号:
.TH intro 3int.SH Name intro \- introduction to international subroutines.SH Description .NXR "international subroutines" "introduction".NXR "subroutines" "international" The internationalization package provides a convenient methodof writing or converting applications so that they can operatein the application user's natural language..PPThe package consists of the following:.IP \(buTools for the creation and modification of message catalogs.IP \(buAn international function library, which is called .I libi.IP \(buA set of international functions available in the C library,.I libc.IP \(buAn international compiler that creates language support databasesfrom special source files.IP \(buAn announcement and initialization mechanism.IP \(buA utility for converting data from one codeset to another codeset.PPWhen you use international library functions in a C program,compile it with the.PN \-lioption to include \fIlibi,\fP as shown:.EX 0% cc \-o prog prog.c \-li.EESome of the international functions are available in thestandard C library.You need not compile with the .PN \-li option if you use only those functions. The functions that are availablein the standard C library are .PN setlocale ,.PN strftime ,.PN strxfrm ,and.PN strcoll ..SS Libraries.\" comment.PP.TStab(@);lp-1v-1 lp-1v-1 ..sp 4p@\fBInternationalization Library Calls\fP.sp 4pcatgetmsg@T{get message from a message catalog (provided for XPG\-2compatibility)T}catgets@read a program messagecatopen@open or close a message catalognl_init@T{set localization for internationalized program (provided for XPG\-2 compatibility)T}nl_langinfo@language informationnl_printf@print formatted output (provided for XPG\-2 compatibility)nl_scanf@convert formatted input (provided for XPG\-2 compatibility)printf@print formatted outputscanf@convert formatted inputvprintf@print formatted output of varargs argument list.sp 4p@\fBStandard C Library Calls\fP.sp 4psetlocale@set localization for internationalized programstrftime@convert time and date to stringstrxfrm@string transformationstrcoll@string collation comparison.TE.PP.\" comment.SS Header Files.\" comment.PP.TStab(@);lp-1v-1 lp-1v-1 .i_defs.h@contains language support database structurei_errno.h@contains error numbers and messageslanginfo.h@T{contains the langinfo definitions for the locale databaseT}locale.h@T{contains the declarations used by the ANSI setlocale and localeconv functionsT}nl_types.h@T{contains the definitions for all the internationalization (libi) functionsT}.TE .PP.\" comment.SH See Also iconv(1), extract(1int), gencat(1int), ic(1int), strextract(1int), strmerge(1int), trans(1int), ctype(3), setlocale(3), strcoll(3), strftime(3), strxfrm(3), catgets(3int), catopen(3int), nl_langinfo(3int),printf(3int), scanf(3int), vprintf(3int),environ(5int), lang(5int), nl_types(5int), patterns(5int).br.I Guide to Developing International Software
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -