patch_seq_arg_at

Function patch_seq_arg_at 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn patch_seq_arg_at(stack: Stack) -> Stack
Expand description

Get command-line argument at index

Stack effect: ( Int – String )

Index 0 is the program name. Returns empty string if index is out of bounds.

§Safety

  • stack must be a valid, non-null stack pointer with at least one Int value
  • Caller must ensure stack is not concurrently modified