.Ft struct hostent *
.Fn bt_gethostbyname "const char *name"
.Ft struct hostent *
-.Fn bt_gethostbyaddr "const char *addr" "int len" "int type"
+.Fn bt_gethostbyaddr "const void *addr" "socklen_t len" "int type"
.Ft struct hostent *
.Fn bt_gethostent void
.Ft void
}
struct hostent *
-bt_gethostbyaddr(char const *addr, socklen_t len, int type)
+bt_gethostbyaddr(void const *addr, socklen_t len, int type)
{
struct hostent *p;
*/
struct hostent * bt_gethostbyname (char const *);
-struct hostent * bt_gethostbyaddr (char const *, socklen_t, int);
+struct hostent * bt_gethostbyaddr (void const *, socklen_t, int);
struct hostent * bt_gethostent (void);
void bt_sethostent (int);
void bt_endhostent (void);