|
void | srand (unsigned int seed) |
| initialize random number generator More...
|
|
int | rand (void) |
| pseudo-random number generator More...
|
|
long | random (void) |
| pseudo-random number generator More...
|
|
FAR char * | get_environ_ptr (size_t *envsize) |
| Return a pointer to the thread specific environ variable. More...
|
|
FAR char * | getenv (FAR const char *name) |
| get value of an environment variable More...
|
|
int | putenv (FAR const char *string) |
| change or add a value to an environment More...
|
|
int | clearenv (void) |
| clears the environment of all name-value pairs and sets the value of the external variable environ to NULL More...
|
|
int | setenv (const char *name, const char *value, int overwrite) |
| add or change environment variable More...
|
|
int | unsetenv (const char *name) |
| remove an environment variable More...
|
|
void | exit (int status) noreturn_function |
| terminate a process More...
|
|
void | abort (void) noreturn_function |
| generate an abnormal process abort More...
|
|
int | atexit (CODE void(*func)(void)) |
| register a function to run at process termination More...
|
|
int | on_exit (CODE void(*func)(int, FAR void *), FAR void *arg) |
| register a function to be called at program exit More...
|
|
long | strtol (const char *, char **, int) |
| convert a string to a long integer More...
|
|
unsigned long | strtoul (const char *, char **, int) |
| convert a string to an unsigned long More...
|
|
long long | strtoll (const char *, char **, int) |
| convert a string to a long integer More...
|
|
unsigned long long | strtoull (const char *, char **, int) |
| convert a string to an unsigned long More...
|
|
double | strtod (FAR const char *str, FAR char **endptr) |
| convert a string to a double-precision number More...
|
|
char * | itoa (int value, char *str, int base) |
| convert integer to string More...
|
|
FAR void * | malloc (size_t) |
| a memory allocator More...
|
|
void | free (FAR void *) |
| free allocated memory More...
|
|
FAR void * | realloc (FAR void *, size_t) |
| memory reallocator More...
|
|
FAR void * | memalign (size_t, size_t) |
| allocates size bytes and returns a pointer to the allocated memory More...
|
|
FAR void * | zalloc (size_t) |
| Allocate and zero memory from the user heap. More...
|
|
FAR void * | calloc (size_t, size_t) |
| a memory allocator More...
|
|
int | abs (int j) |
| return an integer absolute value More...
|
|
long int | labs (long int j) |
| return a long integer absolute value More...
|
|
long long int | llabs (long long int j) |
| return a long integer absolute value More...
|
|
div_t | div (int numer, int denom) |
| compute the quotient and remainder of an integer division More...
|
|
FAR char * | mktemp (FAR char *path_template) |
| generates a unique temporary filename from template. More...
|
|
int | mkstemp (FAR char *path_template) |
| create a regular file with a unique name derived from template and return a file descriptor for the file open for reading and writing. More...
|
|
void | qsort (void *base, size_t nmemb, size_t size, int(*compar)(const void *, const void *)) |
| sort a table of data More...
|
|
FAR void * | bsearch (FAR const void *key, FAR const void *base, size_t nel, size_t width, CODE int(*compar)(FAR const void *, FAR const void *)) |
| binary search a sorted table More...
|
|
struct mallinfo | mallinfo (void) |
| returns a copy of updated current heap information for the user heap More...
|
|
standard library APIs
Definition in file stdlib.h.