Module std::rt::args
[−]
[src]
: this public module should not exist and is highly likely to disappear
Global storage for command line arguments
The current incarnation of the Rust runtime expects for
the processes argc
and argv
arguments to be stored
in a globally-accessible location for use by the os
module.
Only valid to call on Linux. Mac and Windows use syscalls to discover the command line arguments.
FIXME #7756: Would be nice for this to not exist.
Functions
cleanup |
[Unstable] One-time global cleanup. |
clone |
[Unstable] Make a clone of the global arguments. |
init |
[Unstable] One-time global initialization. |
put |
[Unstable] Give the global arguments to global storage. |
take |
[Unstable] Take the global arguments from global storage. |