A random file documentation

Note

This file is more like a stub, not yet a real documentation.

There is a random function:

unsigned long parse_int(const char *str)

Parse a number into an unsigned long.

By default the number should be decimal, but if it starts with 0x it is parsed as hexadecimal and if it otherwise starts with 0, it is parsed as octal.

Parameters
  • str: A string containing a non-negative number.