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