c99, memcpy instead of direct assignment, check for enough RAM for stack
standard lib, examples
see examples