This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: Where is rresvport defined in the Cygwini distribution?
- From: "Ian R. Chesal" <ian dot chesal at rogers dot com>
- To: "'cygwin'" <cygwin at cygwin dot com>
- Date: Sun, 19 Jan 2003 23:45:09 -0500
- Subject: RE: Where is rresvport defined in the Cygwini distribution?
- Reply-to: <ian dot chesal at utoronto dot ca>
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@cygwin.com [mailto:cygwin-owner@cygwin.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.chesal@utoronto.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/