Function std::rt::start

pub fn start(argc: int, argv: **u8, main: ~fn()) -> int

Set up a default runtime configuration, given compiler-supplied arguments.

This is invoked by the start language item (unstable::lang) to run a Rust executable.

Arguments

Return value

The return value is used as the process return code. 0 on success, 101 on error.