OSDN Git Service

Update inet_aton() to support an undocumented feature of inet_aton,
authorEric Andersen <andersen@codepoet.org>
Mon, 4 Aug 2003 19:03:33 +0000 (19:03 -0000)
committerEric Andersen <andersen@codepoet.org>
Mon, 4 Aug 2003 19:03:33 +0000 (19:03 -0000)
commitd2cc961c7312e18852ef016b4cfa7be02bbca725
treebbe5de6cebd8cc583f905fb3c475d14fca67fe02
parent2f40578f87cb83e379da935b3190701845b7fe88
Update inet_aton() to support an undocumented feature of inet_aton,
per UNIX Network Programming, Volume 1, second edition:

    An undocumented feature of inet_aton is that if addrptr is
    a null pointer, the function still performs it validation
    of the input string, but does not store the result.
libc/inet/addr.c