This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: [PATCH] missing in_addr_t type
- From: Christopher Faylor <cgf at redhat dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 10 Feb 2003 17:44:20 -0500
- Subject: Re: [PATCH] missing in_addr_t type
- References: <002e01c2d116$adc59cd0$d8a907d5@BRAMSCHE>
- Reply-to: cygwin at cygwin dot com
On Mon, Feb 10, 2003 at 04:11:25PM +0100, Ralf Habacker wrote:
>Hi all,
>
>while compiling kde with cygwin I recgonized a missing 'in_addr_t' type in
>arpa/inet.h, which seems to belong to this file like
>http://www.opengroup.org/onlinepubs/007908799/xns/netinetin.h.html says.
>
>Additional this type should be uses as return type for the following functions
>
>in_addr_t inet_addr(const char *cp);
>in_addr_t inet_lnaof(struct in_addr in);
>in_addr_t inet_netof(struct in_addr in);
>in_addr_t inet_network(const char *cp);
>
>which are currently
>
>unsigned long inet_addr (const char *);
>unsigned long inet_lnaof (struct in_addr);
>unsigned int inet_netof (struct in_addr);
>unsigned int inet_network (const char *);
>
>see http://www.opengroup.org/onlinepubs/007908799/xns/arpainet.h.html for
>further details.
Applied, with the usual ChangeLog corrections.
Thanks.
cgf
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/