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: Where is rresvport defined in the Cygwini distribution?


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/


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