Mail Archives: cygwin/2001/09/17/16:08:37
On Sat, 15 Sep 2001 00:51:02 -0400, Christopher Faylor wrote:
>On Fri, Sep 14, 2001 at 05:39:18PM -1000, Ching, Jimen wrote:
>>Could someone please add these prototypes to the specified headers?
>>
>>process.h: int getpid(void)
>>io.h: int access(const char *path, int amode);
>
>Both of those functions are declared in unistd.h.
Yes. But if I use -mwin32, should I be including this file?
The reason I requested the above is because I am trying to port an
application to cygwin from Borland. Everything works ok except that
the source code is compiled as C++ and a missing prototype in C++
is an error. Well, the missing prototype is not the cause, but no
prototype means types are incorrectly converted, which causes the
error.
--jc
--
jching AT adtech-inc DOT com Adtech, Inc. (808) 734-3300
--
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 -