missing prototypes
Ching, Jimen
Jimen.Ching@SpirentCom.COM
Mon Sep 17 13:07:00 GMT 2001
On 2001年9月15日 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@adtech-inc.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/
More information about the Cygwin
mailing list