I just stumbled across Mac OS X xlocale(3), which sure looks like it can make possible writing a (possibly multi-threaded) program that supports multiple locales simultaneously. There are some functions to create locale references, and versions of various locale-dependent functions with a _l suffix on the name, that take a locale reference as an additional argument (last, unless they take a variable number of arguments, in which case before the format specifier that determines the number of arguments).
Looking at the latest revision of SUS, I see something quite similar there, the main difference being the header file is locale.h rather than xlocale.h. Anyone working on the latter? -- This message posted from opensolaris.org _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code