delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/10/17:43:25

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 10 Feb 2003 17:44:20 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [PATCH] missing in_addr_t type
Message-ID: <20030210224420.GA29239@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <002e01c2d116$adc59cd0$d8a907d5 AT BRAMSCHE>
Mime-Version: 1.0
In-Reply-To: <002e01c2d116$adc59cd0$d8a907d5@BRAMSCHE>
User-Agent: Mutt/1.5.1i

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019