NXC
Version 1.2.1 r5
|
Standard C cstdlib API functions and types. More...
Modules | |
cstdlib API types | |
Standard C cstdlib API types. | |
Functions | |
void | abort () |
Abort current process. | |
variant | abs (variant num) |
Absolute value. | |
long | srand (long seed) |
Seed the random number generator. | |
unsigned long | rand () |
Generate random number. | |
int | Random (unsigned int n=0) |
Generate random number. | |
void | SysRandomNumber (RandomNumberType &args) |
Draw a random number. | |
void | SysRandomEx (RandomExType &args) |
Call the enhanced random number function. | |
int | atoi (const string &str) |
Convert string to integer. | |
long | atol (const string &str) |
Convert string to long integer. | |
long | labs (long n) |
Absolute value. | |
float | atof (const string &str) |
Convert string to float. | |
float | strtod (const string &str, string &endptr) |
Convert string to float. | |
long | strtol (const string &str, string &endptr, int base=10) |
Convert string to long integer. | |
long | strtoul (const string &str, string &endptr, int base=10) |
Convert string to unsigned long integer. | |
div_t | div (int numer, int denom) |
Integral division. | |
ldiv_t | ldiv (long numer, long denom) |
Integral division. | |
Standard C cstdlib API functions and types.