Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: Chris Faylor Date: Fri, 31 Mar 2000 10:46:32 -0500 To: cygwin AT sourceware DOT cygnus DOT com Subject: Re: missing prototypes in io.h Message-ID: <20000331104632.E910@cygnus.com> Reply-To: cygwin AT sourceware DOT cygnus DOT com Mail-Followup-To: cgf AT cygnus DOT com, cygwin AT sourceware DOT cygnus DOT com References: <200003310353 DOT VAA02386 AT hp2 DOT xraylith DOT wisc DOT edu> <4 DOT 3 DOT 2 DOT 20000331102021 DOT 00ba1660 AT pop DOT ma DOT ultranet DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.1.8i In-Reply-To: <4.3.2.20000331102021.00ba1660@pop.ma.ultranet.com>; from lhall@rfk.com on Fri, Mar 31, 2000 at 10:38:38AM -0500 On Fri, Mar 31, 2000 at 10:38:38AM -0500, Larry Hall (RFK Partners, Inc) wrote: >>I'm compiling the source of both without the mingw32 option. Thus, gcc >>does not look into the mingw32 header directory. Am I supposed to compile >>the library using mingw32, and my program with non-mingw32? I was under >>the impression that I can write an application that uses both the Win32 >>API _and_ the cygwin UNIX layer. But the header files seem to stand in >>the way... > >io.h is a Windows/DOS concoction. Look for access() in the Cygwin headers >and use that for non-Windows compilers (I don't remember the header file it >comes from off the top of my head...) sys/unistd.h . grep is your friend... cgf -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com