This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] missing in_addr_t type


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]