Mono Class Library: Mono.Unix.Native.Stdlib Overview | MembersMono.Unix.Native.Stdlib.remove Method |
Remove a directory entry. [Edit]
|
- filename
- Documentation for this section has not yet been entered. [Edit]
The remove() function returns the value 0 if successful; otherwise the value -1 is returned and Stdlib.GetLastError indicates the error. [Edit]
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).
[Edit]
Namespace: Mono.Unix.Native
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0