Subject: standards/9482: strtoll, not strtoq
To: None <gnats-bugs@gnats.netbsd.org>
From: Seebs <seebs@ged.plethora.net>
List: netbsd-bugs
Date: 02/24/2000 14:21:34
>Number:         9482
>Category:       standards
>Synopsis:       ISO C picked 'strtoll'.  We lose.
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    standards-manager (NetBSD Standards Conformance bug manager)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 24 14:20:59 2000
>Last-Modified:
>Originator:     
>Organization:
>Release:        2/24/00
>Environment:
System: NetBSD ged.plethora.net 1.4T NetBSD 1.4T (LOBE) #0: Wed Feb 23 11:49:40 CST 2000 seebs@ged.plethora.net:/usr/src/sys/arch/i386/compile/LOBE i386


>Description:
	ISO C99 standardized on "long long strtoll...", not on "quad_t
	strtoq".  Therefore, we should provide one.

	My preference is to just #define strtoq, and have the real function
	be named strtoll, because it's a fairly obscure feature, and this
	way, we could avoid duplicating code... But this will break shared
	lib compatability, so we may need to keep the old entry point around
	forever.

>How-To-Repeat:
	Seen on bsdi-users.

>Fix:
>Audit-Trail:
>Unformatted: