delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/17/16:08:37

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <8AC36D3167EED41184C800508BD9540501674181@apollo.adtech-inc.com>
From: "Ching, Jimen" <Jimen DOT Ching AT SpirentCom DOT COM>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Re: missing prototypes
Date: Mon, 17 Sep 2001 10:11:41 -1000
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019