source: trunk/libs/newlib/src/newlib/libc/stdlib/stdlib.tex @ 444

Last change on this file since 444 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 4.3 KB
Line 
1@node Stdlib
2@chapter Standard Utility Functions (@file{stdlib.h})
3
4This chapter groups utility functions useful in a variety of programs.
5The corresponding declarations are in the header file @file{stdlib.h}.
6
7@menu
8* _Exit::       End program execution without cleaning up
9* a64l::        String to long long
10* abort::       Abnormal termination of a program
11* abs::         Integer absolute value (magnitude)
12* assert::      Macro for Debugging Diagnostics
13* atexit::      Request execution of functions at program exit
14* atof::        String to double or float
15* atoi::        String to integer
16* atoll::       String to long long
17* bsearch::     Binary search
18* calloc::      Allocate space for arrays
19* div::         Divide two integers
20* ecvtbuf::     Double or float to string of digits
21* ecvt::        Double or float to string of digits (malloc result)
22* __env_lock::          Lock environment list for getenv and setenv
23* gcvt::        Format double or float as string
24* exit::        End program execution
25* getenv::      Look up environment variable
26* itoa::        Integer to string
27* labs::        Long integer absolute value (magnitude)
28* ldiv::        Divide two long integers
29* llabs::       Long long integer absolute value (magnitude)
30* lldiv::       Divide two long long integers
31* malloc::      Allocate and manage memory (malloc, realloc, free)
32* mallinfo::    Get information about allocated memory
33* __malloc_lock::       Lock memory pool for malloc and free
34* mbsrtowcs::   Convert a character string to a wide-character string
35* mbstowcs::    Minimal multibyte string to wide string converter
36* mblen::       Minimal multibyte length
37* mbtowc::      Minimal multibyte to wide character converter
38* on_exit::     Request execution of functions at program exit
39* qsort::       Array sort
40* rand::        Pseudo-random numbers
41* random::      Pseudo-random numbers
42* rand48::      Uniformly distributed pseudo-random numbers
43* rpmatch::     Determine whether response is affirmative or negative
44* strtod::      String to double or float
45* strtol::      String to long
46* strtoll::     String to long long
47* strtoul::     String to unsigned long
48* strtoull::    String to unsigned long long
49* wcsrtombs::   Convert a wide-character string to a character string
50* wcstod::      Wide string to double or float
51* wcstol::      Wide string to long
52* wcstoll::     Wide string to long long
53* wcstoul::     Wide string to unsigned long
54* wcstoull::    Wide string to unsigned long long
55* system::      Execute command string
56* utoa::        Unsigned integer to string
57* wcstombs::    Minimal wide string to multibyte string converter
58* wctomb::      Minimal wide character to multibyte converter
59@end menu
60
61@page
62@include stdlib/_Exit.def
63
64@page
65@include stdlib/a64l.def
66
67@page
68@include stdlib/abort.def
69
70@page
71@include stdlib/abs.def
72
73@page
74@include stdlib/assert.def
75
76@page
77@include stdlib/atexit.def
78
79@page
80@include stdlib/atof.def
81
82@page
83@include stdlib/atoi.def
84
85@page
86@include stdlib/atoll.def
87
88@page
89@include search/bsearch.def
90
91@page
92@include stdlib/calloc.def
93
94@page
95@include stdlib/div.def
96
97@page
98@include stdlib/efgcvt.def
99
100@page
101@include stdlib/ecvtbuf.def
102
103@page
104@include stdlib/envlock.def
105
106@page
107@include stdlib/exit.def
108
109@page
110@include stdlib/getenv.def
111
112@page
113@include stdlib/itoa.def
114
115@page
116@include stdlib/labs.def
117
118@page
119@include stdlib/ldiv.def
120
121@page
122@include stdlib/llabs.def
123
124@page
125@include stdlib/lldiv.def
126
127@page
128@include stdlib/malloc.def
129
130@page
131@include stdlib/mstats.def
132
133@page
134@include stdlib/mlock.def
135
136@page
137@include stdlib/mblen.def
138
139@page
140@include stdlib/mbsnrtowcs.def
141
142@page
143@include stdlib/mbstowcs.def
144
145@page
146@include stdlib/mbtowc.def
147
148@page
149@include stdlib/on_exit.def
150
151@page
152@include search/qsort.def
153
154@page
155@include stdlib/rand.def
156
157@page
158@include stdlib/random.def
159
160@page
161@include stdlib/rand48.def
162
163@page
164@include stdlib/rpmatch.def
165
166@page
167@include stdlib/strtod.def
168
169@page
170@include stdlib/strtol.def
171
172@page
173@include stdlib/strtoll.def
174
175@page
176@include stdlib/strtoul.def
177
178@page
179@include stdlib/strtoull.def
180
181@page
182@include stdlib/wcsnrtombs.def
183
184@page
185@include stdlib/wcstod.def
186
187@page
188@include stdlib/wcstol.def
189
190@page
191@include stdlib/wcstoll.def
192
193@page
194@include stdlib/wcstoul.def
195
196@page
197@include stdlib/wcstoull.def
198
199@page
200@include stdlib/system.def
201
202@page
203@include stdlib/utoa.def
204
205@page
206@include stdlib/wcstombs.def
207
208@page
209@include stdlib/wctomb.def
210
Note: See TracBrowser for help on using the repository browser.