delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/19/23:44:57

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
Reply-To: <ian DOT chesal AT utoronto DOT ca>
From: "Ian R. Chesal" <ian DOT chesal AT rogers DOT com>
To: "'cygwin'" <cygwin AT cygwin DOT com>
Subject: RE: Where is rresvport defined in the Cygwini distribution?
Date: Sun, 19 Jan 2003 23:45:09 -0500
Message-ID: <000101c2c03e$b925c200$0302a8c0@calvin>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
In-Reply-To: <000001c2c03e$3a354470$0302a8c0@calvin>
X-Authentication-Info: Submitted using SMTP AUTH LOGIN at fep02-mail.bloor.is.net.cable.rogers.com from [24.102.123.73] using ID <ian DOT chesal AT rogers DOT com> at Sun, 19 Jan 2003 23:43:42 -0500

To answer my own question, adding:

#ifdef CYGWIN
extern int rresvport(int *port);
#endif

To the top of the file after the #includes seems to have solved the
problem.

Cheers!
Ian

-----Original Message-----
From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf
Of Ian R. Chesal
Sent: January 19, 2003 11:42 PM
To: 'cygwin'
Subject: Where is rresvport defined in the Cygwini distribution?


Again, this is related to porting GridEngine to cygwin. I have a file
that says: #include <unistd.> and then calls rresvport(int *port). When
I do a 'man rresvport' it looks like it should be in unistd.h but I
can't find a prototype for the function in any header file. Can someone
point me in the right direction?

Thanks!
Ian

---
Ian R. Chesal
<ian DOT chesal AT utoronto DOT ca>



--
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/




--
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