www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/11/02/06:48:18

From: <ams AT ludd DOT luth DOT se>
Message-Id: <200211021146.gA2Bk0a28426@speedy.ludd.luth.se>
Subject: Re: LIBC 2.04 new function atoll() implementation
In-Reply-To: <001401c28231$db1d3cd0$0100a8c0@p4> "from Andrew Cottrell at Nov
2, 2002 04:36:21 pm"
To: djgpp-workers AT delorie DOT com
Date: Sat, 2 Nov 2002 12:46:00 +0100 (CET)
X-Mailer: ELM [version 2.4ME+ PL78 (25)]
MIME-Version: 1.0
X-MailScanner: Found to be clean
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

According to Andrew Cottrell:
> The files are all from the src\libc\ansi\stdlib directory.
> ==================== START atoll.c ====================
> /* Copyright (C) 2002 DJ Delorie, see COPYING.DJ for details */
> #include <stdlib.h>
> 
> long long
            int
> atoll(const char *str)
> {
>   return strtoll(str, 0, 10);
> }
> 
> ==================== END atoll.c ====================
> ==================== START atoll.txh ====================
> @node atoll, string
> @subheading Syntax
> 
> @example
> #include <stdlib.h>
> 
> long long 
            int
>               atoll(const char *string);
> @end example

- Raw text -


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