This is the mail archive of the cygwin@sourceware.cygnus.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: 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@sourceware.cygnus.com


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