16 lines · 419 B · Text
RawDownload
= remove: remove a file     include "sys.m";    sys := load Sys Sys->PATH;     remove:   fn(file: string): int; Remove removes file from the directory containing it and dis‐cards the contents of the file.  The  user  must  have  writepermission  in the containing directory.  If file is a direc‐tory, it must be empty.  Remove returns zero  if  it  deletesthe file, -1 otherwise. == see ALSOsys-intro(2)