📄 00000003.htm
字号:
other programming languages. <BR> <BR>(2) Requirements <BR> <BR>Conforming implementations shall provide the internationalization <BR>functions listed in the Table 3-1 and the headers listed in the Table 3-2. <BR>The specifications of the functions and the definitions of the headers <BR>shall conform to [POSIX.1] and [ISO C]. <BR>In addition to the functions in the Table 3-1, conforming implementations <BR>shall provide the wide character and wide string I/O functionality <BR>through printf/scanf family of functions as specified in [ISO C]. <BR> <BR>Table 3-1 C Language internationalization functions <BR> <BR>btowc() fgetwc() fgetws() fputwc() fputws() <BR>fwide() fwprintf() fwscanf() getwc() getwchar() <BR>iswalnum() iswalpha() iswcntrl() iswctype() iswdigit() <BR>iswgraph() iswlower() iswprint() iswpunct() iswspace() <BR>iswupper() iswxdigit() localeconv() mblen() mbrlen() <BR>mbrtowc() mbsinit() mbsrtowcs() mbstowcs() mbtowc() <BR>putwc() putwchar() setlocale() strftime() swprintf() <BR>swscanf() towctrans() towlower() towupper() ungetwc() <BR>vfwprintf() vswprintf() vwprintf() wcrtomb() wcscat() <BR>wcschr() wcscmp() wcscoll() wcscpy() wcscspn() <BR>wcsftime() wcslen() wcsncat() wcsncmp() wcsncpy() <BR>wcspbrk() wcsrchr() wcsrtombs() wcsspn() wcsstr() <BR>wcstod() wcstok() wcstol() wcstombs() wcstoul() <BR>wcsxfrm() wctob() wctomb() wctrans() wctype() <BR>wmemchr() wmemcmp() wmemcpy() wmemmove() wmemset() <BR>wprintf() wscanf() <BR> <BR>Table 3-2 C language headers <BR> <BR> <BR> <BR>Conforming implementations shall provide the internationalization <BR>functions listed in the Table 3-3 and headers listed in the Table 3-4. <BR>The specifications of the functions and the definitions of the headers <BR>shall conform to [XSH5]. <BR> <BR>Table 3-3 Additional C Language internationalization functions <BR> <BR>catclose() catgets() catopen() <BR>iconv() iconv_close() iconv_open() <BR>nl_langinfo() strfmon() strptime() <BR>wcswidth() wcwidth() <BR> <BR>Table 3-4 Additional C language headers <BR> <BR>Conforming implementations may provide the gettext message handling <BR>function which is specified in Annex C: Publicly Available Specifications. <BR> <BR>Conforming level 1 implementations should support <BR>the POSIX regular expression functions listed in the Table 3-5 <BR>and the header . <BR>The specifications of the functions and the definitions of the header <BR>should conform to [XSH5]. <BR> <BR>Table 3-5 POSIX regular expression functions <BR> <BR>regcomp() regexec() regerror() regfree() <BR> <BR>Conforming implementations shall provide the application execution <BR>environment in which the internationalized applications (written <BR>by using the internationalization functions above) can behave <BR>appropriately depending on the value of Environment Variables, <BR>without requiring any change of the applications. <BR>See Annex A: Environment Variables for the environment variables <BR>to which internationalization functions will refer. <BR> <BR>Conforming implementations shall support the application execution <BR>environments specified in Annex B. <BR> <BR>Conforming level 2 implementations shall define <BR>_XOPEN_CURSES version test macro and provide the internationalized <BR>curses library functions which are specified in [XCURSES4.2]. <BR> <BR>Conforming level 2 implementations shall support Java Runtime <BR>environment ([TBD]), Internationalization Component for Unicode <BR>[ICU], and Perl execution environment [Perl 5.6] including Perl <BR>interpreter and modules. <BR> <BR>Note. The following Perl modules are related with Globalization. <BR>(see <A HREF="http://www.perl.com/CPAN-local/modules/">http://www.perl.com/CPAN-local/modules/</A> <BR>00modlist.long.html#Part2-ThePerl5Mo) <BR> <BR>Name Description <BR>------------ -------------------------------------------- <BR>I18N:: <BR>∶<I>:Charset Character set names and aliases </I><BR>∶<I>:Collate Locale based comparisons </I><BR>∶<I>:LangTags compare & extract language tags (RFC1766) </I><BR>∶<I>:WideMulti Wide and multibyte character string </I><BR> <BR>Locale:: <BR>∶<I>:Country ISO 3166 two letter country codes </I><BR>∶<I>:Date Month/weekday names in various languages </I><BR>∶<I>:Langinfo The API </I><BR>∶<I>:Language ISO 639 two letter language codes </I><BR>∶<I>:Msgcat Access to XPG4 message catalog functions </I><BR>∶<I>:PGetText What GNU gettext does, written in pure perl </I><BR>∶<I>:gettext Multilanguage messages </I><BR> <BR>Unicode:: <BR>∶<I>:String String manipulation for Unicode strings </I><BR>∶<I>:Map8 Convert between most 8bit encodings </I><BR> <BR> <BR> <BR>(3) Implementation Examples <BR> <BR>GNU C library version 2.2 <BR>[TBD] <BR> <BR>(4) Future Direction <BR> <BR>In the next version of this specification, <BR>conforming implementations may be required to provide <BR>POSIX regular expression functions and internationalized curses <BR>library functions. <BR>4. Graphic Libraries <BR> <BR>(1) Scope <BR>This chapter defines runtime library interfaces for graphical user interface <BR>(GUI). Conforming implementations shall provide graphical user interface <BR>defined by the X Window System Version 11 Release 6 [X11R6]. <BR> <BR>(2) Requirements <BR> <BR>The confirming implementation shall provide the API for <BR>following functions: <BR> <BR>- Locale <BR>setlocale() <BR>XSupportsLocale() <BR>XSetLocaleModifiers() <BR> <BR>- Internationalized Text Drawing <BR>XCreateFontSet() -- not recommended (use XOpenOM/XCreateOC) <BR>XFreeFontSet() <BR>XFontsOfFontSet() <BR>XBaseFontNameListOfFontSet() <BR>XLocaleOfFontSet() <BR>XContextDependentDrawing() <BR>XExtentsOfFontSet() <BR>XmbTextEscapement() <BR>XwcTextEscapement() <BR>XmbTextExtents() <BR>XwcTextExtents() <BR>XmbTextPerCharExtents() <BR>XwcTextPerCharExtents() <BR>XmbDrawString() <BR>XwcDrawString() <BR>XmbDrawImageString() <BR>XwcDrawImageString() <BR>XmbDrawText() <BR>XwcDrawText() <BR> <BR>- X Output Methods -- X11R6 Extension <BR>XOpenOM() <BR>XCloseOM() <BR>XDisplayOfOM() <BR>XLocaleOfOM() <BR>XSetOMValues() <BR>XGetOMValues() <BR>XCreateOC() <BR>XDestroyOC() <BR>XOMOfOC() <BR>XSetOCValues() <BR>XGetOCValues() <BR> <BR>- Resource Management <BR>XrmInitialize() <BR>XrmLocaleOfDatabase() <BR>XrmParseCommand() <BR>XResourceManagerString() <BR>XScreenResourceString() <BR>XrmGetFileDatabase() <BR>XrmGetStringDatabase() <BR>XrmMergeDatabases() <BR>XrmCombineDatabase() <BR>XrmCombineFileDatabase() <BR>XrmGetDatabase() <BR>XrmSetDatabase() <BR>XrmGetResource() <BR>XrmEnumerateDatabase() <BR>XrmPutResource() <BR>XrmPutStringResource() <BR>XrmPutLineResource() <BR>XrmPutFileDatabase() <BR>XrmDestroyDatabase() <BR>XrmPermStringToQuark() <BR>XrmQGetResource() <BR>XrmQGetSearchList() <BR>XrmQGetSearchResource() <BR>XrmQPutResource() <BR>XrmQPutStringResource() <BR>XrmQuarkToString() <BR>XrmStringToBindingQuarkList() <BR>XrmStringToQuark() <BR>XrmStringToQuarkList() <BR>XrmUniqueQuark() <BR> <BR>- Inter-Client Communication <BR>XmbTextListToTextProperty() <BR>XwcTextListToTextProperty() <BR>XmbTextPropertyToTextList() <BR>XwcTextPropertyToTextList() <BR>XFreeStringList() <BR>XwcFreeStringList() <BR>XmbSetWMProperties() <BR>XSetWMProperties() <BR>XSetWMName() <BR>XSetWMIconName() <BR> <BR>- X Input Methods -- Internationalized Text Input <BR>XOpenIM() <BR>XCloseIM() <BR>XDisplayOfIM() <BR>XLocaleOfIM() <BR>XSetIMValues() <BR>XGetIMValues() <BR>XCreateIC() <BR>XVaCreateNestedList() <BR>XDestroyIC() <BR>XIMOfIC() <BR>XSetICValues() <BR>XGetICValues() <BR>XSetICFocus() <BR>XUnsetICFocus() <BR>XmbResetIC() <BR>XwcResetIC() <BR>XFilterEvent() <BR>XmbLookupString() <BR>XwcLookupString() <BR>XRegisterIMInstantiateCallback() <BR>XUnregisterIMInstantiateCallback() <BR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -