delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/05/14/08:21:11

X-Spam-Check-By: sourceware.org
Message-ID: <4648549E.40203@byu.net>
Date: Mon, 14 May 2007 06:22:54 -0600
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.5.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: missing functions
References: <loom DOT 20070502T004544-728 AT post DOT gmane DOT org> <20070514121228 DOT GC12259 AT calimero DOT vinschen DOT de>
In-Reply-To: <20070514121228.GC12259@calimero.vinschen.de>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Corinna Vinschen on 5/14/2007 6:12 AM:
>> _Exit
>> dprintf
>>
>> There is also a big list of integer-only and reentrant variants of *printf that 
>> might be worth exporting:
>>
>> asiprintf, _asiprintf, asiprintf_r, _asiprintf_r, diprintf, _diprintf, 
>> diprintf_r, _diprintf_r, _dprintf, dprintf_r, _dprintf_r, fiprintf_r, 
>> _fiprintf_r, fprintf_r, _fprintf_r, iprintf_r, _iprintf_r, printf_r, _printf_r, 
>> siprintf_r, _siprintf_r, sniprintf, _sniprintf, sniprintf_r, _sniprintf_r, 
>> snprintf_r, _snprintf_r, sprintf_r, _sprintf_r, vasiprintf, _vasiprintf, 
>> vasiprintf_r, _vasiprintf_r, vdiprintf, _vdiprintf, vdiprintf_r, _vdiprintf_r, 
>> vdprintf, _vdprintf, vdprintf_r, _vdprintf_r, vfiprintf_r, _vfiprintf_r, 
>> vfprintf_r, _vfprintf_r, viprintf, _viprintf, viprintf_r, _viprintf_r, 
>> vprintf_r, _vprintf_r, vsiprintf, _vsiprintf, vsiprintf_r, _vsiprintf_r, 
>> vsniprintf, _vsniprintf, vsniprintf_r, _vsniprintf_r, vsnprintf_r, 
>> _vsnprintf_r, vsprintf_r, _vsprintf_r
> 
> Why the underscore variants?  Are they covered by any standard?  If not,
> we don't export these variants anymore.  The existing ones have been
> originally exported to maintain some compatibility to msvcrt, but this
> is a moot point for a long time.

I didn't realize that.  No, there is no need for the leading underscore
variants, which cuts the edits to cygwin.din in half (although recall that
newlib provides, for example, only the pair vdprintf and _vdprintf_r, so
cygwin.din needs to export vdprintf_r mapped to _vdprintf_r).

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9 AT byu DOT net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGSFSe84KuGfSFAYARAowfAKC6ebdVml4B/hZqyt/hHim/wKUJUgCfQo8H
GqLGqGymry/xBzPOHY39Vh0=
=AVn1
-----END PGP SIGNATURE-----

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