remove
remove - remove a file
Synopsis
include "sys.m";
sys:= load Sys Sys->PATH;
remove: fn(file: string): int;
Description
remove (file)
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.
See Also
Limbo System Modules
infernosupport@lucent.com
Copyright © 1996,Lucent Technologies, Inc. All rights
reserved.