[#BIO_gethostbyname] = BIO_gethostbyname :mrdocs: Resolve `name` with gethostbyname(3) (deprecated; prefer BIO_lookup_ex()). == Synopsis Declared in `<openssl/bio.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] xref:hostent.adoc[hostent]* BIO_gethostbyname(char const* name); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value Pointer to a static hostent on success, or NULL on failure. == Parameters [cols="1,4"] |=== | Name| Description | *name* | Host name to look up. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#