X-Spam-Check-By: sourceware.org Message-ID: <4656DBF6.6040302@byu.net> Date: Fri, 25 May 2007 06:52:06 -0600 From: Eric Blake 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, oceanare AT pacific DOT net DOT sg Subject: Re: _ultoa References: <4656D8C7 DOT 4070002 AT pacific DOT net DOT sg> In-Reply-To: <4656D8C7.4070002@pacific.net.sg> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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 Erich Dollansky on 5/25/2007 6:38 AM: > Hi, > > I try to find the function _ultoa to convert some numbers. No standard specifies _ultoa, so it's use is inherently non-portable. Cygwin is under no obligation to provide it, so it doesn't. > > This all seems to me like a very stupid error of mine where I simply > cannot see the jungle because of the many trees around. Why not use a standard's-compliant method instead: snprintf(yourbuf, yourbufsize, "%lu", (unsigned long) yourvalue); - -- 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 iD8DBQFGVtv284KuGfSFAYARAjn0AKCm96+n5LPEtoyU03zpv15YS+iJcwCfdh/O drVQwgXQjXnUl0iFZTPnHDM= =ZsBs -----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/