Originated by glimes (33 on babelfish): cppcheck identifies gethostbyname as nonreentrant and obsolete, and recommends gethostbyname_r in the first case and getaddrinfo in the second.