Skip to main content

patch_seq_file_append

Function patch_seq_file_append 

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

Append string to file (creates if doesn’t exist)

Stack effect: ( String String – Bool )

Takes content and path, appends content to file. Creates the file if it doesn’t exist. Returns true on success, false on failure.

§Safety

  • stack must be a valid, non-null stack pointer
  • Top of stack must be path (String), second must be content (String)