delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/26/05:14:15

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Fri, 26 Aug 2005 11:13:51 +0200
From: Samuel Thibault <samuel DOT thibault AT ens-lyon DOT org>
To: cygwin AT cygwin DOT com, dave AT mielke DOT cc
Subject: Re: perennity of cygwin_internal(CW_GET_ERRNO_FROM_WINERROR,err)
Message-ID: <20050826091351.GN5542@implementation.labri.fr>
Mail-Followup-To: Samuel Thibault <samuel DOT thibault AT ens-lyon DOT org>, cygwin AT cygwin DOT com, dave AT mielke DOT cc
References: <20050825224350 DOT GT7662 AT bouh DOT ens-lyon DOT fr> <20050826090521 DOT GA21203 AT calimero DOT vinschen DOT de>
Mime-Version: 1.0
In-Reply-To: <20050826090521.GA21203@calimero.vinschen.de>
User-Agent: Mutt/1.5.9i-nntp

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019