* rename the functions * make the other function public and give it a better name * interact with stderr_mutex * std lib test coverage