12.07.2015 Views

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Descriptions of the Library Routines 2outstr(Output) Character*(*). Parameter setting for the current locale. All parameter settings placed inoutstr are character strings, even numbers. If a parameter setting is numeric, the ASCIIrepresentation of the number is used. If the requested parameter is a date or time string, anexplanation of how to interpret the format in outstr is given in “NLS Date and Time Format(W*32, W*64)”.Results:The result type is INTEGER(4). The result is the number of characters written to outstr ifsuccessful, or if outstr has 0 length, the number of characters required to hold the requestedinformation. Otherwise, the result is one of the following error codes (defined in IFNLS.F90):• NLS$ErrorInvalidLIType – The given is invalid• NLS$ErrorInsufficientBuffer – The outstr buffer was too small, but was not 0 (so that theneeded size would be returned)The NLS$LI parameters are used for the argument and select the locale information returned byNLSGetLocaleInfo in outstr. You can perform an inclusive OR with NLS$NoUserOverride andany NLS$LI parameter. This causes NLSGetLocaleInfo to bypass any user overrides and alwaysreturn the system default value.Table 2-1 lists and briefly describes the NLS$LI parameters.Table 2-1 NLS LocaleInfo Parameters (W*32, W*64)ParameterDescriptionNLS$LI_ILANGUAGEAn ID indicating the language.NLS$LI_SLANGUAGEThe full localized name of the language.NLS$LI_SENGLANGUAGE The full English name of the language from the ISO Standard 639.This will always be restricted to characters that map into the ASCII127 character subset.NLS$LI_SABBREVLANGNAME The abbreviated name of the language, created by taking the 2-letterlanguage abbreviation as found in ISO Standard 639 and adding athird letter as appropriate to indicate the sublanguage.NLS$LI_SNATIVELANGNAME The native name of the language.NLS$LI_ICOUNTRYThe country code, based on international phone codes, also referredto as IBM country codes.NLS$LI_SCOUNTRYThe full localized name of the country.NLS$LI_SENGCOUNTRYThe full English name of the country. This will always be restricted tocharacters that map into the ASCII 127 character subset.NLS$LI_SABBREVCTRYNAME The abbreviated name of the country as per ISO Standard 3166.NLS$LI_SNATIVECTRYNAME The native name of the country.2-229

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!