OSDN Git Service

7baddc330888b396e038b248ee8e1b877937fe15
[pf3gnuchains/pf3gnuchains4x.git] / newlib / libc / stdlib / stdlib.tex
1 @node Stdlib
2 @chapter Standard Utility Functions (@file{stdlib.h})
3
4 This chapter groups utility functions useful in a variety of programs.
5 The corresponding declarations are in the header file @file{stdlib.h}.
6
7 @menu 
8 * abort::       Abnormal termination of a program
9 * abs::         Integer absolute value (magnitude)
10 * assert::      Macro for Debugging Diagnostics
11 * atexit::      Request execution of functions at program exit
12 * atof::        String to double or float
13 * atoi::        String to integer
14 * bsearch::     Binary search
15 * calloc::      Allocate space for arrays
16 * div::         Divide two integers
17 * ecvtbuf::     Double or float to string of digits
18 * ecvt::        Double or float to string of digits (malloc result)
19 * __env_lock::          Lock environment list for getenv and setenv
20 * gvcvt::       Format double or float as string
21 * exit::        End program execution
22 * getenv::      Look up environment variable
23 * labs::        Long integer absolute value (magnitude)
24 * ldiv::        Divide two long integers
25 * malloc::      Allocate and manage memory (malloc, realloc, free)
26 * mallinfo::    Get information about allocated memory
27 * __malloc_lock::       Lock memory pool for malloc and free
28 * mbstowcs::    Minimal multibyte string to wide string converter
29 * mblen::       Minimal multibyte length
30 * mbtowc::      Minimal multibyte to wide character converter
31 * qsort::       Sort an array
32 * rand::        Pseudo-random numbers
33 * rand48::      Uniformly distributed pseudo-random numbers
34 * strtod::      String to double or float
35 * strtol::      String to long
36 * strtoul::     String to unsigned long
37 * system::      Execute command string
38 * wcstombs::    Minimal wide string to multibyte string converter
39 * wctomb::      Minimal wide character to multibyte converter
40 @end menu
41
42 @page
43 @include stdlib/abort.def
44
45 @page
46 @include stdlib/abs.def
47
48 @page
49 @include stdlib/assert.def
50
51 @page
52 @include stdlib/atexit.def
53
54 @page
55 @include stdlib/atof.def
56
57 @page
58 @include stdlib/atoi.def
59
60 @page
61 @include stdlib/bsearch.def
62
63 @page
64 @include stdlib/calloc.def
65
66 @page
67 @include stdlib/div.def
68
69 @page
70 @include stdlib/efgcvt.def
71
72 @page
73 @include stdlib/ecvtbuf.def
74
75 @page
76 @include stdlib/envlock.def
77
78 @page
79 @include stdlib/exit.def
80
81 @page
82 @include stdlib/getenv.def
83
84 @page
85 @include stdlib/labs.def
86
87 @page
88 @include stdlib/ldiv.def
89
90 @page
91 @include stdlib/malloc.def
92
93 @page
94 @include stdlib/mstats.def
95
96 @page
97 @include stdlib/mlock.def
98
99 @page
100 @include stdlib/mblen.def
101
102 @page
103 @include stdlib/mbstowcs.def
104
105 @page
106 @include stdlib/mbtowc.def
107
108 @page
109 @include stdlib/qsort.def
110
111 @page
112 @include stdlib/rand.def
113
114 @page
115 @include stdlib/rand48.def
116
117 @page
118 @include stdlib/strtod.def
119
120 @page
121 @include stdlib/strtol.def
122
123 @page
124 @include stdlib/strtoul.def
125
126 @page
127 @include stdlib/system.def
128
129 @page
130 @include stdlib/wcstombs.def
131
132 @page
133 @include stdlib/wctomb.def
134