Retro68/gcc/newlib/libc/stdlib/stdlib.tex
2012-03-27 01:51:53 +02:00

195 lines
4.0 KiB
TeX

@node Stdlib
@chapter Standard Utility Functions (@file{stdlib.h})
This chapter groups utility functions useful in a variety of programs.
The corresponding declarations are in the header file @file{stdlib.h}.
@menu
* _Exit:: End program execution without cleaning up
* a64l:: String to long long
* abort:: Abnormal termination of a program
* abs:: Integer absolute value (magnitude)
* assert:: Macro for Debugging Diagnostics
* atexit:: Request execution of functions at program exit
* atof:: String to double or float
* atoi:: String to integer
* atoll:: String to long long
* bsearch:: Binary search
* calloc:: Allocate space for arrays
* div:: Divide two integers
* ecvtbuf:: Double or float to string of digits
* ecvt:: Double or float to string of digits (malloc result)
* __env_lock:: Lock environment list for getenv and setenv
* gvcvt:: Format double or float as string
* exit:: End program execution
* 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
* mbsrtowcs:: Convert a character string to a wide-character string
* mbstowcs:: Minimal multibyte string to wide string converter
* mblen:: Minimal multibyte length
* mbtowc:: Minimal multibyte to wide character converter
* on_exit:: Request execution of functions at program exit
* qsort:: Array sort
* rand:: Pseudo-random numbers
* rand48:: Uniformly distributed pseudo-random numbers
* strtod:: String to double or float
* strtol:: String to long
* strtoll:: String to long long
* strtoul:: String to unsigned long
* strtoull:: String to unsigned long long
* wcsrtombs:: Convert a wide-character string to a character string
* wcstod:: Wide string to double or float
* wcstol:: Wide string to long
* wcstoll:: Wide string to long long
* wcstoul:: Wide string to unsigned long
* wcstoull:: Wide string to unsigned long long
* system:: Execute command string
* wcstombs:: Minimal wide string to multibyte string converter
* wctomb:: Minimal wide character to multibyte converter
@end menu
@page
@include stdlib/_Exit.def
@page
@include stdlib/a64l.def
@page
@include stdlib/abort.def
@page
@include stdlib/abs.def
@page
@include stdlib/assert.def
@page
@include stdlib/atexit.def
@page
@include stdlib/atof.def
@page
@include stdlib/atoi.def
@page
@include stdlib/atoll.def
@page
@include search/bsearch.def
@page
@include stdlib/calloc.def
@page
@include stdlib/div.def
@page
@include stdlib/efgcvt.def
@page
@include stdlib/ecvtbuf.def
@page
@include stdlib/envlock.def
@page
@include stdlib/exit.def
@page
@include stdlib/getenv.def
@page
@include stdlib/labs.def
@page
@include stdlib/ldiv.def
@page
@include stdlib/llabs.def
@page
@include stdlib/lldiv.def
@page
@include stdlib/malloc.def
@page
@include stdlib/mstats.def
@page
@include stdlib/mlock.def
@page
@include stdlib/mblen.def
@page
@include stdlib/mbsnrtowcs.def
@page
@include stdlib/mbstowcs.def
@page
@include stdlib/mbtowc.def
@page
@include stdlib/on_exit.def
@page
@include search/qsort.def
@page
@include stdlib/rand.def
@page
@include stdlib/rand48.def
@page
@include stdlib/strtod.def
@page
@include stdlib/strtol.def
@page
@include stdlib/strtoll.def
@page
@include stdlib/strtoul.def
@page
@include stdlib/strtoull.def
@page
@include stdlib/wcsnrtombs.def
@page
@include stdlib/wcstod.def
@page
@include stdlib/wcstol.def
@page
@include stdlib/wcstoll.def
@page
@include stdlib/wcstoul.def
@page
@include stdlib/wcstoull.def
@page
@include stdlib/system.def
@page
@include stdlib/wcstombs.def
@page
@include stdlib/wctomb.def