delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/23/20:17:36

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
Date: Tue, 24 Jul 2001 02:07:00 +0200
From: Kurt Roeckx <Q AT ping DOT be>
To: Heribert Dahms <heribert_dahms AT icon-scm DOT com>
Cc: cygwin AT cygwin DOT com
Subject: Re: Probably a very simple problem - hopefully someone will help me
Message-ID: <20010724020700.A1852@ping.be>
References: <BF35D9C143BCCC4EB63181B67C9320C804DE20 AT serv-075 DOT icon-germany DOT local>
Mime-Version: 1.0
X-Mailer: Mutt 1.0pre2i
In-Reply-To: <BF35D9C143BCCC4EB63181B67C9320C804DE20@serv-075.icon-germany.local>

On Mon, Jul 23, 2001 at 11:44:59PM +0200, Heribert Dahms wrote:
> 
> almost! According to Appendix A of Richard W. Steven's famous
> "Advanced Programming in the UNIX Environment" (a "must have" IMHO)
> lseek needs including <sys/types.h> before <unistd.h>!

And so do things like open() if you look at certain manpages.
Not all manpages mention it, and not all libc need them.  That
doesn't mean you shouldn't include it however. :)

But gcc only complained about the missing declarations for the
functions, and I knew that all those functions had unistd.h in
common.

I wonder where the manpages for "system calls" are under cygwin.
Section two is completly missing.


Kurt


--
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