view modules/inet_pton @ 14436:ff4cf3c8b89b

inet_ntop, inet_pton: Simplify. * modules/inet_ntop (Depends-on): Remove socklen, since sys_socket is documented to provide socklen_t and we already depend on sys_socket. * modules/inet_pton (Depends-on): Likewise. * lib/arpa_inet.in.h: Adjust comment.
author Paul Eggert <eggert@cs.ucla.edu>
date Sat, 19 Mar 2011 13:58:17 +0100
parents 50f35a5ef466
children efab6978105e
line wrap: on
line source

Description:
Convert internet address from presentation to internal, binary, format.

Files:
lib/inet_pton.c
m4/inet_pton.m4

Depends-on:
c-ctype
sys_socket
arpa_inet
errno
netinet_in
extensions

configure.ac:
gl_FUNC_INET_PTON
gl_ARPA_INET_MODULE_INDICATOR([inet_pton])

Makefile.am:

License:
LGPLv2+

Include:
<arpa/inet.h>

Link:
$(INET_PTON_LIB)

Maintainer:
Simon Josefsson, glibc