Is glibc's implementation of fprintf() thread-safe? Is glibc's implementation of fprintf() thread-safe? multithreading multithreading