1 /* $NetBSD: _inet_aton.c,v 1.4 2005/09/13 01:44:09 christos Exp $ */
4 * Written by Klaus Klein, September 14, 1999.
9 #if defined(LIBC_SCCS) && !defined(lint)
10 __RCSID("$NetBSD: _inet_aton.c,v 1.4 2005/09/13 01:44:09 christos Exp $");
11 #endif /* LIBC_SCCS and not lint */
13 #if defined(__indr_reference)
14 __indr_reference(_inet_aton
, inet_aton
)
17 #include <sys/types.h>
18 #include <netinet/in.h>
19 #include <arpa/inet.h>
21 int _inet_aton(const char *, struct in_addr
*);
24 inet_aton(const char *cp
, struct in_addr
*addr
)
27 return _inet_aton(cp
, addr
);