Function linux_syscalls::init_from_args
source · pub unsafe fn init_from_args(argc: usize, argv: *const *const u8)Available on crate feature
bare only.Expand description
Initialize library from arguments count and arguments list (int argc, char **argv).
It’s recommended to call it before anything else in the main function.
Safety
Dealing with pointers is unsafe by definition.