For a long time: getaddrinfo() and others are specified in susv3[1] (since 2003 I think). However, gethostbyname() and gethostbyaddr() are still very commonly used, and won't be gone soon.
1/ http://refspecs.linuxbase.org/LSB_3.1.1/LSB-Core-generic/LSB...