Remove a directory entry.
- 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).
Namespace: Mono.Unix.Native
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0