patch_seq_file_exists

Function patch_seq_file_exists 

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

Check if a file exists

Stack effect: ( String – Int )

Takes a file path and returns 1 if the file exists, 0 otherwise.

§Safety

  • stack must be a valid, non-null stack pointer with a String value on top
  • Caller must ensure stack is not concurrently modified