Locale method source file

The method source file maps method names to the National Language Support (NLS) subroutines that implement those methods. The method file also specifies the object libraries or DLL side-decks where the implementing subroutines are stored. The methods correspond to those subroutines that require direct access to the data structures representing locale data. Figure 1 shows a typical locale method source file.

Figure 1. Example locale method source file
escape_char  /
comment_char %

METHODS

mblen        "__mblen_sb_a"
mbtowc       "__mbtowc_iso1"
mbstowcs     "__mbstowcs_std_a"
wctomb       "__wctomb_iso1"
wcstombs     "__wcstombs_std_a"
wcwidth      "__wcwidth_std_a"
wcswidth     "__wcswidth_std_a"
csid         "__csid_std_a"
towupper     "__towupper_std_a"
towlower     "__towlower_std_a"
get_wctype   "__get_wctype_std_a"
is_wctype    "__is_wctype_std_a"
strcoll      "__strcoll_std_a"
strxfrm      "__strxfrm_std_a"
wcscoll      "__wcscoll_std_a"
wcsxfrm      "__wcsxfrm_std_a"
regcomp      "__regcomp_std_a"
regexec      "__regexec_std_a"
regfree      "__regfree_std_a"
regerror     "__regerror_std_a"
strfmon      "__strfmon_std_a"
strftime     "__strftime_std_a"
strptime     "__strptime_std_a"
wcsftime     "__wcsftime_std_a"
wcsid        "__wcsid_std_a"

END METHODS