public static extern unsafe int gethostbyaddr_r(void *addr, socklen_t len, int type, hostent *ret, byte *buf, IntPtr buflen, hostent **result, int *h_errnop);
 public static extern unsafe int gethostbyname_r(string name, hostent *ret, byte *buf, IntPtr buflen, hostent **result, int *h_errnop);