#[unsafe(no_mangle)]pub unsafe extern "C" fn patch_seq_file_slurp(stack: Stack) -> StackExpand description
Read entire file contents as a string
Stack effect: ( String – String )
Takes a file path, reads the entire file, and returns its contents. Panics if the file cannot be read (doesn’t exist, no permission, not UTF-8, etc.)
§Safety
stackmust be a valid, non-null stack pointer with a String value on top- Caller must ensure stack is not concurrently modified