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.
argc
& argv
- The argument vector. On Unix this information is used
by os::args.The return value is used as the process return code. 0 on success, 101 on error.
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).