Re: gethostbyname.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Jonny,

On 15 October 2014 at 00:34, Jonny Grant <jg@xxxxxxxx> wrote:
> Hello
> Just looking at this page:
>
> http://man7.org/linux/man-pages/man3/gethostbyname.3.html
>
> NO_ADDRESS or NO_DATA
>               The requested name is valid but does not have an IP address.
>
> These macros are actually the same value, is there a good way to
> explain that? i.e. no way to have a switch for both.
>
> perhaps just say NO_DATA, then add the following for compatibility?
>
> #define NO_ADDRESS NO_DATA
>
> Regards, Jonny

I added this sentence:

    The constant NO_ADDRESS is a synonym for NO_DATA.

Thanks,

Michael

-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux