This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Probably a very simple problem - hopefully someone will help me


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]