From 6bbb700c348150b7f16b185ec63eb0c1fcc92584 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Thu, 27 Nov 2003 19:47:19 +0000 Subject: 2003-11-27 Artem B. Bityuckiy Jeff Johnston * libc/include/stdlib.h (lldiv_t): New type. (atoll, llabs, lldiv): New prototypes. * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv. * libc/stdlib/stdlib.tex: Ditto. * libc/stdlib/Makefile.in: Regenerated. * libc/stdlib/atoll.c: New file. * libc/stdlib/llabs.c: Ditto. * libc/stdlib/lldiv.c: Ditto. --- newlib/libc/stdlib/stdlib.tex | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'newlib/libc/stdlib/stdlib.tex') diff --git a/newlib/libc/stdlib/stdlib.tex b/newlib/libc/stdlib/stdlib.tex index 5798caa69..39fb915fc 100644 --- a/newlib/libc/stdlib/stdlib.tex +++ b/newlib/libc/stdlib/stdlib.tex @@ -11,6 +11,7 @@ The corresponding declarations are in the header file @file{stdlib.h}. * atexit:: Request execution of functions at program exit * atof:: String to double or float * atoi:: String to integer +* atoll:: String to long long * calloc:: Allocate space for arrays * div:: Divide two integers * ecvtbuf:: Double or float to string of digits @@ -21,6 +22,8 @@ The corresponding declarations are in the header file @file{stdlib.h}. * getenv:: Look up environment variable * labs:: Long integer absolute value (magnitude) * ldiv:: Divide two long integers +* llabs:: Long long integer absolute value (magnitude) +* lldiv:: Divide two long long integers * malloc:: Allocate and manage memory (malloc, realloc, free) * mallinfo:: Get information about allocated memory * __malloc_lock:: Lock memory pool for malloc and free @@ -55,6 +58,9 @@ The corresponding declarations are in the header file @file{stdlib.h}. @page @include stdlib/atoi.def +@page +@include stdlib/atoll.def + @page @include stdlib/calloc.def @@ -82,6 +88,12 @@ The corresponding declarations are in the header file @file{stdlib.h}. @page @include stdlib/ldiv.def +@page +@include stdlib/llabs.def + +@page +@include stdlib/lldiv.def + @page @include stdlib/malloc.def -- cgit v1.2.3