delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/10/01/04:09:25

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Date: Fri, 1 Oct 1999 10:07:57 +0200
Message-Id: <199910010807.KAA16478@henkell.ibr.cs.tu-bs.de>
From: Juergen Schoenwaelder <schoenw AT ibr DOT cs DOT tu-bs DOT de>
To: khan AT thor DOT xraylith DOT wisc DOT edu
CC: cygwin AT sourceware DOT cygnus DOT com
In-reply-to: <199909301705.MAA10463@mercury.xraylith.wisc.edu> (message from
Mumit Khan on Thu, 30 Sep 1999 12:05:36 -0500)
Subject: Re: strtoll() and strtoull()
References: <199909301705 DOT MAA10463 AT mercury DOT xraylith DOT wisc DOT edu>

>>>>> Mumit Khan writes:

Mumit> If you do mean strtoll/strtoull (ie., *two* l's at the end),
Mumit> these are not in any standard I know of. If the two 'l's at the
Mumit> end refer to the long long version, those are non-standard and
Mumit> newlib doesn't implement it. Newlib maintainers will accept
Mumit> patches of course.

Of course, I mean strtoll/strtoull. And they are at least very close
to standard. Besides that, they make a whole lot of sense since the
gcc supports long long and friends.

Anyway, is it legal to simply copy the implementation of strtoll() and
strtoull() from glibc? Or do you have to implement it from scratch for
some reason?

/js

-- 
Juergen Schoenwaelder      Technical University Braunschweig
<schoenw AT ibr DOT cs DOT tu-bs DOT de>  Dept. Operating Systems & Computer Networks
Phone: +49 531 391 3289    Bueltenweg 74/75, 38106 Braunschweig, Germany
Fax:   +49 531 391 5936    <URL:http://www.ibr.cs.tu-bs.de/~schoenw/>



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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