forsyth20121205-174063a80cc13 years agoHistory
23 lines · 464 B · Text
RawDownload
.TH SYS-REMOVE 2.SH NAMEremove \- remove a file.SH SYNOPSIS.EXinclude "sys.m";sys := load Sys Sys->PATH; remove:	fn(file: string): int;.EE.SH DESCRIPTION.B Removeremoves.I filefrom the directory containing it and discards the contents of the file.The user must have write permission in the containing directory.If.I fileis a directory, it must be empty..B Removereturns zero if it deletes the file, \-1 otherwise..SH SEE ALSO.IR sys-intro (2)