- filename
- Documentation for this section has not yet been entered.
The remove() function returns the value 0 if successful; otherwise the value -1 is returned and Stdlib.GetLastError indicates the error.
The remove() function removes the file or directory specified by path.
If path specifies a directory, remove(path) is the equivalent of Syscall.rmdir(path). Otherwise, it is the equivalent of Syscall.unlink(path).