remove - remove a file
sys:= load Sys Sys->PATH;
remove: fn(file: string): int;
The remove function removes file from the directory containing it. The contents of the file are discarded. The user must have write permission in the containing directory.
The file argument can be a directory. If so, it must be empty for remove to succeed.
The remove function returns zero if it deletes the file, -1 otherwise.
Limbo System Modules
Copyright © 1996,Lucent Technologies, Inc. All rights