FreeNOS
Macros | Functions
stdlib.h File Reference
#include <Macros.h>
#include <sys/types.h>

Go to the source code of this file.

Macros

#define EXIT_SUCCESS   0
 Successful termination.
 
#define EXIT_FAILURE   1
 Unsuccessful termination.
 

Functions

C void exit (int status)
 Terminate a process.
 
C void itoa (char *buffer, int divisor, int number)
 Convert a number to a string.
 
C int atoi (const char *nptr)
 Convert a string to an integer.
 
C long strtol (const char *nptr, char **endptr, int base)
 Convert a string to a long integer.
 
C void * malloc (size_t size)
 A memory allocator.
 
C void free (void *ptr)
 Free allocated memory.
 
C void srandom (unsigned int seed)
 Random number generator.
 
C long int random (void)
 Random number generator.