-
Notifications
You must be signed in to change notification settings - Fork 0
File by file Global State
Jake Hamby edited this page Jul 14, 2022
·
5 revisions
- calls to
setlocale()
-
set_default_locale()
called from earlymain()
- sets
default_locale
to the original value ofLC_ALL
from return value of call tosetlocale(LC_ALL, "")
- calls
bindtextdomain(PACKAGE, LOCALEDIR)
andtextdomain(PACKAGE)
- sets
locale_mb_cur_max
toMB_CUR_MAX
- sets locale_utf8locale to return value of
locale_isutf8(default_locale)
- sets
locale_shiftstates
to return value ofmblen(NULL, 0)
.
- sets
- main() starts here, many global variables declared here