This library has been tested on IRIX 6.x using the SGI MIPSpro 7.3 compiler, and on Linux, using glibc 2.0 and the egcs 1.1.2 compilers. Compiling it on other platforms will almost certainly require at least some work. We welcome suggestions, patches, and bug fixes.
Locales are a tricky point.
The problem is that the standard C library only has one active locale at a time, as determined by the global setlocale function. It isn't used for user-defined locales, or for the classic locale. So the stub implementation takes any string, and returns a failure indication when the user attempts to create a named locale. There are a couple of smaller places where we have system-dependent code. We could have satisfied this requirement by implementing things in terms of putc and getc , but that would have been horribly inefficient.