From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4460 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: [feature request] add function strtoull_l and similar Date: Tue, 7 Jan 2014 23:15:19 -0500 Message-ID: <20140108041519.GI24286@brightrain.aerifal.cx> References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1389154526 32754 80.91.229.3 (8 Jan 2014 04:15:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Jan 2014 04:15:26 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4464-gllmg-musl=m.gmane.org@lists.openwall.com Wed Jan 08 05:15:33 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1W0kYG-00038m-Q7 for gllmg-musl@plane.gmane.org; Wed, 08 Jan 2014 05:15:32 +0100 Original-Received: (qmail 17512 invoked by uid 550); 8 Jan 2014 04:15:32 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 17504 invoked from network); 8 Jan 2014 04:15:32 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:4460 Archived-At: On Wed, Jan 08, 2014 at 12:03:46PM +0800, 邓尧 wrote: > I'm building libc++ against musl, it requires strtoull_l and similar > functions in order to implement C++ header . I have no idea whether > these functions are standard or glibc extensions. You can just redirect them to plain strtoull, etc.; musl does not support radix separators other than '.' so there's no need for passing a locale argument. The GNU/BSD _l variants will probably be added at some point in the future (ignoring their locale argument) but fow now it's probably just easiest to work around their absence. Rich