The GNU C Library Manual I. Status Implementation Status C 1998/2003 Implementation Status Implementation Specific Behavior C 2011 Implementation Specific Behavior C 2014 C 2017 Implementation Specific Behavior C 2020 C TR1 Implementation Specific Behavior C TR 24733 C IS 29124 Implementation Specific Behavior. If this symbol is defined, it indicates that the system has the POSIX.2 C compiler command, c89. The GNU C library always defines this as 1, on the assumption that you would not have installed it if you didn't have a C compiler. Therefore provides the GNU C library a new set of functions which can be used in this context. Function: int gethostbynamer (const char.restrict name, struct hostent.restrict resultbuf, char.restrict buf, sizet buflen, struct hostent.restrict result, int.restrict herrnop ).
Node:Yes-or-No Questions, Previous:Formatting Numbers, Up:Locales Swann n3960 camera user manual.
Yes-or-No Questions
Some non GUI programs ask a yes-or-no question. If the messages (especially the questions) are translated into foreign languages, be sure that you localize the answers too. It would be very bad habit to ask a question in one language and request the answer in another, often English.
The GNU C library contains rpmatch
to give applications easy access to the corresponding locale definitions.
int rpmatch (const char *response) | Function |
The function rpmatch checks the string in response whether or not it is a correct yes-or-no answer and if yes, which one. The check uses the YESEXPR and NOEXPR data in the LC_MESSAGES category of the currently selected locale. The return value is as follows:
This function is not standardized but available beside in GNU libc at least also in the IBM AIX library. |
Gnu C Library Online
This function would normally be used like this:
Gnu C Library Reference
Glibc
Download mi pc suite versi lama. Note that the loop continues until an read error is detected or until a definitive (positive or negative) answer is read.