Mono.Unix.Native.Syscall Class
The Syscall wrapper class makes it possible to execute the defined system calls. For more information on any of these system calls, the linux manual system (man) has exhaustive information on each syscall in section two: 'man 2 chdir' (or often chdir(2)) for example would give information related to chdir, including error codes, which are in general not listed here.

See Also: Syscall Members

Syntax

[System.CLSCompliant(false)]
public sealed class Syscall : Stdlib

Remarks

The syscall wrapper follows the posix standard. This means some functionality or flags which are linux specific may not be available. Below is a list of known posix syscall functions and features that are not yet implemented.
SyscallStatus
mountInherently non-portable across the various Unix flavours, and will never be supported. Instead, use System.Diagnostics.Process and invoke the command-line mount(8) program.
umountInherently non-portable across the various Unix flavours, and will never be supported. Instead, use System.Diagnostics.Process and invoke the command-line umount(8) program.
ptraceNot yet implemented.
ftimeNot yet implemented.
timesNot yet implemented.
ulimitNot yet implemented.
sigactionNot yet implemented.
sigsuspendNot yet implemented.
sigpendingNot yet implemented.
setrlimitNot yet implemented.
getrlimitNot yet implemented.
getrusageNot yet implemented.

Thread Safety

Public static members of this type may be thread safe; check your operating system documentation. No instance members are guaranteed to be thread safe.All public static members of this type are probably safe for multithreaded operations within managed code. (Methods which are obviously unsafe are synchronized, such as Syscall.ttyname, but any hidden dependencies between e.g. Syscall.ttyname and Syscall.read are not protected.) No multithreading guarantee is made between managed and unmanaged code. Check your operating system documentation for more information.

Requirements

Namespace: Mono.Unix.Native
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0