#include <stddef.h>
#include <string.h>
Defines | |
#define | RAND_MAX ((1<<32)-1) |
Functions | |
void * | malloc (size_t size) |
void * | calloc (size_t nmemb, size_t size) |
void | free (void *ptr) |
unsigned long | rand () |
void | srand (unsigned long seed) |
|
The maximal pseudo-random number generated |
|
Allocate an array of nmemb objects whose sizeof is size. The array is cleared. The returned address is aligned on a phrase in memory. |
|
Free a previously allocated buffer with malloc or calloc. The given address must be a valid one. |
|
Memory allocation. It returns the address of a buffer which is phrase aligned in memory. |
|
Returns a new pseudo-random number |
|
Initialises the pseudo-random numbers generator with the given seed |