Skip to content

locale.library

locale.library gives a program the language and country settings of the user: translated texts from catalogs, and the formats of dates, times and numbers. A program that uses these calls opens the library when it starts; on a system without it, the calls must not be used.

Declared by deflibs library 231.

Calls

CallArgumentsRegistersOffset
CloseCatalog_(catalog)a0-36
CloseLocale_(locale)a0-42
ConvToLower_(locale,character)a0, d0-48
ConvToUpper_(locale,character)a0, d0-54
FormatDate_(locale,template,date,putCharFunc)a0, a1, a2, a3-60
FormatString_(locale,string,dataStream,putCharFunc)a0, a1, a2, a3-66
GetCatalogStr_(catalog,stringNum,defaultString)a0, d0, a1-72
GetLocaleStr_(locale,stringNum)a0, d0-78
IsAlNum_(locale,character)a0, d0-84
IsAlpha_(locale,character)a0, d0-90
IsCntrl_(locale,character)a0, d0-96
IsDigit_(locale,character)a0, d0-102
IsGraph_(locale,character)a0, d0-108
IsLower_(locale,character)a0, d0-114
IsPrint_(locale,character)a0, d0-120
IsPunct_(locale,character)a0, d0-126
IsSpace_(locale,character)a0, d0-132
IsUpper_(locale,character)a0, d0-138
IsXDigit_(locale,character)a0, d0-144
OpenCatalogA_(locale,name,tags)a0, a1, a2-150
OpenLocale_(name)a0-156
ParseDate_(locale,date,template,getCharFunc)a0, a1, a2, a3-162
StrConvert_(locale,string,buffer,bufferSize,type)a0, a1, a2, d0, d1-174
StrnCmp_(locale,string1,string2,length,type)a0, a1, a2, d0, d1-180