This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: perennity of cygwin_internal(CW_GET_ERRNO_FROM_WINERROR,err)
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Cc: Samuel Thibault <samuel dot thibault at ens-lyon dot org>, dave at mielke dot cc
- Date: Fri, 26 Aug 2005 11:05:21 +0200
- Subject: Re: perennity of cygwin_internal(CW_GET_ERRNO_FROM_WINERROR,err)
- References: <20050825224350.GT7662@bouh.ens-lyon.fr>
- Reply-to: cygwin at cygwin dot com
On Aug 26 00:43, Samuel Thibault wrote:
> Hi,
>
> While writing a library for instance, we'd like
> to return appropriate errno values, and for this
> cygwin_internal(CW_GET_ERRNO_FROM_WINERROR,err) would be much useful.
>
> Documentation says "Stay away unless you know what you're doing". Could
> it be removed some day, and hence we shouldn't use it?
What do you want? Removal of the "Stay away" comment? But it's
true and right. It doesn't mean you shouldn't use it at all, but
you're on your own if you play with it and break your application.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader mailto:cygwin@cygwin.com
Red Hat, Inc.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/