libc_hidden_proto (rresvport_af)
libc_hidden_proto (ruserok_af)
+libc_hidden_proto (getaddrinfo)
+libc_hidden_proto (getnameinfo)
+libc_hidden_proto (freeaddrinfo)
+
/* Document internal interfaces. */
extern int __gethostent_r (struct hostent *__restrict __result_buf,
char *__restrict __buf, size_t __buflen,
errno = serrno;
return 0;
}
+libc_hidden_def (getnameinfo)
/* Stub version of getaddrinfo function.
- Copyright (C) 1996 Free Software Foundation, Inc.
+ Copyright (C) 1996, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
return EAI_SYSTEM;
}
stub_warning (getaddrinfo)
-
+libc_hidden_def (getaddrinfo)
void
freeaddrinfo (struct addrinfo *ai)
/* Nothing. */
}
stub_warning (freeaddrinfo)
+libc_hidden_def (freeaddrinfo)
+
#include <stub-tag.h>
return last_i ? -(last_i & GAIH_EAI) : EAI_NONAME;
}
+libc_hidden_def (getaddrinfo)
void
freeaddrinfo (struct addrinfo *ai)
free (p);
}
}
+libc_hidden_def (freeaddrinfo)