This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: starting a cygwin app from a Windows Service
- From: "Rolf Campbell" <rcampbell at tropicnetworks dot com>
- To: <cygwin at cygwin dot com>
- Date: Wed, 16 Oct 2002 19:49:19 -0400
- Subject: RE: starting a cygwin app from a Windows Service
> -----Original Message-----
> From: Christopher Faylor [mailto:cgf@redhat.com]
>
> I don't know. I think it would be far simpler to have something like:
>
> #ifdef __CYGWIN__
> # define READTEXT "rt"
> #else
> # define READTEXT "r"
> #endif
>
> .
> .
> .
>
> FILE fp = fopen ("foo", READTEXT);
>
Doesn't any libc worth it's wieght ignore the "t"?
-Rolf
--
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/