This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: perennity of cygwin_internal(CW_GET_ERRNO_FROM_WINERROR,err)


Corinna Vinschen, le Fri 26 Aug 2005 11:05:21 +0200, a écrit :
> On Aug 26 00:43, Samuel Thibault wrote:
> > 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?

Oops no: as Dave told me, my sentence was ambiguous. I'm asking whether
the cygwin_internal(CW_GET_ERRNO_FROM_WINERROR,err) call could be
removed some day, so that people shouldn't use it.

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

Ok, thanks.

Samuel

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


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