From: 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 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII 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 Precedence: bulk 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 > > 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 > > long long int > atoll(const char *string); > @end example