delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/03/31/15:32:07

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <99B82AA9708ED0119B55006097125A00363E3E@ifk63.mach.uni-karlsruhe.de>
From: Heribert Dahms <heribert_dahms AT icon-gmbh DOT de>
To: "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: RE: missing prototypes in io.h
Date: Fri, 31 Mar 2000 22:28:44 +0200
X-Priority: 3
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.0.1457.3)

Hi Chris,

or Richard Stevens' APUE (Advanced Programming in the UNIX Environment)
is your friend (see appendix A: access lists <unistd.h>), a "must have"
IMHO!

Bye, Heribert (heribert_dahms AT icon-gmbh DOT de)

> -----Original Message-----
> From:	Chris Faylor [SMTP:cgf AT cygnus DOT com]
> Sent:	Friday, March 31, 2000 17:47
> To:	cygwin AT sourceware DOT cygnus DOT com
> Subject:	Re: missing prototypes in io.h
> 
> 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

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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