Thread-safe functions

To ensure that your application is reentrant, make sure that:

NoteA C library function that is reentrant on one UNIX system is not necessarily reentrant on other UNIX systems. Consult a porting guide for your platform to determine if the C function is reentrant.