1 /* $NetBSD: _inet_pton.c,v 1.3 2005/07/30 15:21:20 christos Exp $ */
4 * Written by Klaus Klein, September 14, 1999.
9 #if defined(LIBC_SCCS) && !defined(lint)
10 __RCSID("$NetBSD: _inet_pton.c,v 1.3 2005/07/30 15:21:20 christos Exp $");
11 #endif /* LIBC_SCCS and not lint */
13 #if defined(__indr_reference)
14 __indr_reference(_inet_pton
, inet_pton
)
17 #include <sys/types.h>
18 #include <netinet/in.h>
19 #include <arpa/inet.h>
21 int _inet_pton(int, const char *, void *);
24 inet_pton(int af
, const char *src
, void *dst
)
27 return _inet_pton(af
, src
, dst
);