Mono.Unix.Native.Syscall: Method Members

The methods of Mono.Unix.Native.Syscall are listed below. For a list of all members, see the Syscall Members list.

See Also: Inherited members from Mono.Unix.Native.Stdlib

Public Methods

static
_exit(int) : int
Documentation for this section has not yet been entered.
static
access(string, AccessModes) : int
Checks whether the calling task has the necessary access rights to perform operations specified by mode on the file pathname. AccessMode is a mask consisting of one or more of the values R_OK, W_OK, X_OK and F_OK which respectively test if the taks can read, write, execute or test if the file exists.
static
acct(string) : int
Documentation for this section has not yet been entered.
static
alarm(uint) : uint
If the call completes successfully, the taks will receive a SIGALARM signal after a delay of seconds seconds. A delay of zero seconds simply cancel the alarm. If an previous alarm was activated when the call is made then the previous alarm is cancelled.
static
brk(IntPtr) : int
Documentation for this section has not yet been entered.
static
chdir(string) : int
Changes the current directory to 'path'.
static
chmod(string, FilePermissions) : int
Change permissions for a file or folder.
static
chown(string, uint, uint) : int
Change owner for a file or folder.
static
chroot(string) : int
Change root directory.
static
close(int) : int
Closes the file descriptor.
static
closedir(IntPtr) : int
Closes the directory.
static
closelog() : int
Documentation for this section has not yet been entered.
static
confstr(ConfstrName, System.Text.StringBuilder, ulong) : ulong
Documentation for this section has not yet been entered.
static
creat(string, FilePermissions) : int
Creates a file 'pathname' using the given file mode flags.
static
crypt(string, string) : string
Documentation for this section has not yet been entered.
static
cuserid(System.Text.StringBuilder) : string
Documentation for this section has not yet been entered.
static
dirfd(IntPtr) : int
Documentation for this section has not yet been entered.
static
dup(int) : int
dup duplicates a file descriptor to the lowest unused file descriptor available.
static
dup2(int, int) : int
dup2 duplicates a file descriptor to another specified file descriptor. If the destination file descriptor is already used, it is closed. The two descriptors share all (ie. file locks, position, etc.) but the close-on-exec flag.
static
encrypt(byte[], bool) : int
Documentation for this section has not yet been entered.
static
endfsent() : int
Documentation for this section has not yet been entered.
static
endgrent() : int
Documentation for this section has not yet been entered.
static
endpwent() : int
Documentation for this section has not yet been entered.
static
endusershell() : int
Documentation for this section has not yet been entered.
static
epoll_create(EpollFlags) : int
Documentation for this section has not yet been entered.
static
epoll_create(int) : int
Documentation for this section has not yet been entered.
static
epoll_ctl(int, EpollOp, int, EpollEvents) : int
Documentation for this section has not yet been entered.
static
epoll_wait(int, EpollEvent[], int, int) : int
Documentation for this section has not yet been entered.
static
execv(string, string[]) : int
Documentation for this section has not yet been entered.
static
execve(string, string[], string[]) : int
Documentation for this section has not yet been entered.
static
execvp(string, string[]) : int
Documentation for this section has not yet been entered.
static
fchdir(int) : int
Documentation for this section has not yet been entered.
static
fchmod(int, FilePermissions) : int
Documentation for this section has not yet been entered.
static
fchown(int, uint, uint) : int
Documentation for this section has not yet been entered.
static
fcntl(int, FcntlCommand) : int
Documentation for this section has not yet been entered.
static
fcntl(int, FcntlCommand, DirectoryNotifyFlags) : int
Documentation for this section has not yet been entered.
static
fcntl(int, FcntlCommand, ref Flock) : int
Documentation for this section has not yet been entered.
static
fcntl(int, FcntlCommand, long) : int
Documentation for this section has not yet been entered.
static
fdatasync(int) : int
Synchronize changes to a file.
static
fexecve(int, string[], string[]) : int
Documentation for this section has not yet been entered.
static
fgetgrent(IntPtr) : Group
Documentation for this section has not yet been entered.
static
fgetpwent(IntPtr) : Passwd
Documentation for this section has not yet been entered.
static
fgetxattr(int, string, byte[]) : long
Documentation for this section has not yet been entered.
static
fgetxattr(int, string, out byte[]) : long
Documentation for this section has not yet been entered.
static
fgetxattr(int, string, byte[], ulong) : long
Documentation for this section has not yet been entered.
static
flistxattr(int, out string[]) : long
Documentation for this section has not yet been entered.
static
flistxattr(int, byte[], ulong) : long
Documentation for this section has not yet been entered.
static
flistxattr(int, System.Text.Encoding, out string[]) : long
Documentation for this section has not yet been entered.
static
fpathconf(int, PathconfName) : long
Documentation for this section has not yet been entered.
static
fpathconf(int, PathconfName, Errno) : long
Documentation for this section has not yet been entered.
static
fremovexattr(int, string) : int
Documentation for this section has not yet been entered.
static
fsetxattr(int, string, byte[]) : int
Documentation for this section has not yet been entered.
static
fsetxattr(int, string, byte[], XattrFlags) : int
Documentation for this section has not yet been entered.
static
fsetxattr(int, string, byte[], ulong) : int
Documentation for this section has not yet been entered.
static
fsetxattr(int, string, byte[], ulong, XattrFlags) : int
Documentation for this section has not yet been entered.
static
fstat(int, out Stat) : int
get file status
static
fstatvfs(int, out Statvfs) : int
Documentation for this section has not yet been entered.
static
fsync(int) : int
Documentation for this section has not yet been entered.
static
ftruncate(int, long) : int
Truncate or extend a file to length
static
futimes(int, Timeval[]) : int
Documentation for this section has not yet been entered.
static
getcwd(System.Text.StringBuilder) : System.Text.StringBuilder
Documentation for this section has not yet been entered.
static
getcwd(System.Text.StringBuilder, ulong) : IntPtr
Documentation for this section has not yet been entered.
static
getdomainname(System.Text.StringBuilder) : int
Documentation for this section has not yet been entered.
static
getdomainname(System.Text.StringBuilder, ulong) : int
Documentation for this section has not yet been entered.
static
getdtablesize() : int
Documentation for this section has not yet been entered.
static
getegid() : uint
Get the effective group ID for the current process.
static
geteuid() : uint
Get the effective user ID for the current process.
static
getfsent() : Fstab
Documentation for this section has not yet been entered.
static
getfsfile(string) : Fstab
Documentation for this section has not yet been entered.
static
getfsspec(string) : Fstab
Documentation for this section has not yet been entered.
static
getgid() : uint
Get the group ID for the current process.
static
getgrent() : Group
Documentation for this section has not yet been entered.
static
getgrgid(uint) : Group
Documentation for this section has not yet been entered.
static
getgrgid_r(uint, Group, out Group) : int
Documentation for this section has not yet been entered.
static
getgrnam(string) : Group
Documentation for this section has not yet been entered.
static
getgrnam_r(string, Group, out Group) : int
Documentation for this section has not yet been entered.
static
getgrouplist(Passwd) : Group[]
Determine the group access list for a user.
static
getgrouplist(string) : Group[]
Determines the group access list for a user by username.
static
getgroups(uint[]) : int
Documentation for this section has not yet been entered.
static
getgroups(int, uint[]) : int
Documentation for this section has not yet been entered.
static
gethostid() : long
Documentation for this section has not yet been entered.
static
gethostname(System.Text.StringBuilder) : int
Retrieves the hostname.
static
gethostname(System.Text.StringBuilder, ulong) : int
Retrieves the hostname.
static
getlogin() : string
Documentation for this section has not yet been entered.
static
getlogin_r(System.Text.StringBuilder) : int
Documentation for this section has not yet been entered.
static
getlogin_r(System.Text.StringBuilder, ulong) : int
Documentation for this section has not yet been entered.
static
getpagesize() : int
Documentation for this section has not yet been entered.
static
getpgid(int) : int
Documentation for this section has not yet been entered.
static
getpgrp() : int
Get the process group.
static
getpid() : int
Returns the unique identifier for the current process.
static
getppid() : int
Returns the unique identifier for the parent process.
static
getpwent() : Passwd
Documentation for this section has not yet been entered.
static
getpwnam(string) : Passwd
Documentation for this section has not yet been entered.
static
getpwnam_r(string, Passwd, out Passwd) : int
Documentation for this section has not yet been entered.
static
getpwuid(uint) : Passwd
Documentation for this section has not yet been entered.
static
getpwuid_r(uint, Passwd, out Passwd) : int
Documentation for this section has not yet been entered.
static
getresgid(out uint, out uint, out uint) : int
Documentation for this section has not yet been entered.
static
getresuid(out uint, out uint, out uint) : int
Documentation for this section has not yet been entered.
static
getsid(int) : int
Documentation for this section has not yet been entered.
static
gettimeofday(out Timeval) : int
Documentation for this section has not yet been entered.
static
gettimeofday(out Timezone) : int
Documentation for this section has not yet been entered.
static
gettimeofday(out Timeval, out Timezone) : int
Documentation for this section has not yet been entered.
static
getuid() : uint
Get the user ID for the current process.
static
getusershell() : string
Documentation for this section has not yet been entered.
static
getxattr(string, string, byte[]) : long
Documentation for this section has not yet been entered.
static
getxattr(string, string, out byte[]) : long
Documentation for this section has not yet been entered.
static
getxattr(string, string, byte[], ulong) : long
Documentation for this section has not yet been entered.
static
isatty(int) : bool
Is the file descriptor a TTY?
static
kill(int, Signum) : int
Send a signal to the specified process.
static
lchown(string, uint, uint) : int
Change the ownership for 'path'.
static
lgetxattr(string, string, byte[]) : long
Documentation for this section has not yet been entered.
static
lgetxattr(string, string, out byte[]) : long
Documentation for this section has not yet been entered.
static
lgetxattr(string, string, byte[], ulong) : long
Documentation for this section has not yet been entered.
static
link(string, string) : int
Create a hard link from oldpath to newpath.
static
listxattr(string, out string[]) : long
Documentation for this section has not yet been entered.
static
listxattr(string, byte[], ulong) : long
Documentation for this section has not yet been entered.
static
listxattr(string, System.Text.Encoding, out string[]) : long
Documentation for this section has not yet been entered.
static
llistxattr(string, out string[]) : long
Documentation for this section has not yet been entered.
static
llistxattr(string, byte[], ulong) : long
Documentation for this section has not yet been entered.
static
llistxattr(string, System.Text.Encoding, out string[]) : long
Documentation for this section has not yet been entered.
static
lockf(int, LockfCommand, long) : int
Documentation for this section has not yet been entered.
static
lremovexattr(string, string) : int
Documentation for this section has not yet been entered.
static
lseek(int, long, SeekFlags) : long
Changes the read/write file offset of a file descriptor.
static
lsetxattr(string, string, byte[]) : int
Documentation for this section has not yet been entered.
static
lsetxattr(string, string, byte[], XattrFlags) : int
Documentation for this section has not yet been entered.
static
lsetxattr(string, string, byte[], ulong) : int
Documentation for this section has not yet been entered.
static
lsetxattr(string, string, byte[], ulong, XattrFlags) : int
Documentation for this section has not yet been entered.
static
lstat(string, out Stat) : int
Retrieves via output paramter the file status struct for a file.
static
lutimes(string, Timeval[]) : int
Documentation for this section has not yet been entered.
static
mincore(IntPtr, ulong, byte[]) : int
Documentation for this section has not yet been entered.
static
mkdir(string, FilePermissions) : int
Create a directory at 'path' with the given FilePermissions.
static
mkfifo(string, FilePermissions) : int
Documentation for this section has not yet been entered.
static
mknod(string, FilePermissions, ulong) : int
Create a special file node.
static
mkstemp(System.Text.StringBuilder) : int
Documentation for this section has not yet been entered.
static
mlock(IntPtr, ulong) : int
Documentation for this section has not yet been entered.
static
mlockall(MlockallFlags) : int
Documentation for this section has not yet been entered.
static
mmap(IntPtr, ulong, MmapProts, MmapFlags, int, long) : IntPtr
Documentation for this section has not yet been entered.
static
mprotect(IntPtr, ulong, MmapProts) : int
Documentation for this section has not yet been entered.
static
mremap(IntPtr, ulong, ulong, MremapFlags) : IntPtr
Documentation for this section has not yet been entered.
static
msync(IntPtr, ulong, MsyncFlags) : int
Documentation for this section has not yet been entered.
static
munlock(IntPtr, ulong) : int
Documentation for this section has not yet been entered.
static
munlockall() : int
Documentation for this section has not yet been entered.
static
munmap(IntPtr, ulong) : int
Documentation for this section has not yet been entered.
static
nanosleep(ref Timespec, ref Timespec) : int
Documentation for this section has not yet been entered.
static
nice(int) : int
Change the priority of the current process by given increment.
static
open(string, OpenFlags) : int
Creates/opens a file 'pathname' using the given file open flags.
static
open(string, OpenFlags, FilePermissions) : int
Creates/opens a file 'pathname' using the given open and file permission flags.
static
opendir(string) : IntPtr
Opens a directory at 'path'.
static
openlog(IntPtr, SyslogOptions, SyslogFacility) : int
Documentation for this section has not yet been entered.
static
pathconf(string, PathconfName) : long
Documentation for this section has not yet been entered.
static
pathconf(string, PathconfName, Errno) : long
Documentation for this section has not yet been entered.
static
pause() : int
Pause the current process. The task sleeps until a signal is received.
static
pipe(int[]) : int
Documentation for this section has not yet been entered.
static
pipe(out int, out int) : int
Documentation for this section has not yet been entered.
static
poll(Pollfd[], int) : int
Documentation for this section has not yet been entered.
static
poll(Pollfd[], uint, int) : int
Documentation for this section has not yet been entered.
static
posix_fadvise(int, long, long, PosixFadviseAdvice) : int
Documentation for this section has not yet been entered.
static
posix_fallocate(int, long, ulong) : int
Documentation for this section has not yet been entered.
static
posix_madvise(IntPtr, ulong, PosixMadviseAdvice) : int
Documentation for this section has not yet been entered.
static
pread(int, IntPtr, ulong, long) : long
Documentation for this section has not yet been entered.
static
pread(int, void*, ulong, long) : long
Documentation for this section has not yet been entered.
static
psignal(Signum, string) : int
Documentation for this section has not yet been entered.
static
pwrite(int, IntPtr, ulong, long) : long
Documentation for this section has not yet been entered.
static
pwrite(int, void*, ulong, long) : long
Documentation for this section has not yet been entered.
static
read(int, IntPtr, ulong) : long
Reads up to count bytes into buf from fd.
static
read(int, void*, ulong) : long
Reads up to count bytes into buf from fd.
static
readdir(IntPtr) : Dirent
Read directory entry.
static
readdir_r(IntPtr, Dirent, out IntPtr) : int
Thread-safe version of Syscall.readdir
static
readlink(string, System.Text.StringBuilder) : int
Gets the destination of a symlink as a string.
static
readlink(string, System.Text.StringBuilder, ulong) : int
Gets the destination of a symlink as a string.
static
remap_file_pages(IntPtr, ulong, MmapProts, long, MmapFlags) : int
Documentation for this section has not yet been entered.
static
removexattr(string, string) : int
Documentation for this section has not yet been entered.
static
revoke(string) : int
Documentation for this section has not yet been entered.
static
rewinddir(IntPtr) : int
Documentation for this section has not yet been entered.
static
rmdir(string) : int
Removes the directory at 'path'.
static
sbrk(IntPtr) : IntPtr
Documentation for this section has not yet been entered.
static
seekdir(IntPtr, long) : int
Documentation for this section has not yet been entered.
static
sendfile(int, int, ref long, ulong) : long
Documentation for this section has not yet been entered.
static
setdomainname(string) : int
Documentation for this section has not yet been entered.
static
setdomainname(string, ulong) : int
Documentation for this section has not yet been entered.
static
setegid(uint) : int
Documentation for this section has not yet been entered.
static
seteuid(uint) : int
Documentation for this section has not yet been entered.
static
setfsent() : int
Documentation for this section has not yet been entered.
static
setgid(uint) : int
Sets the group ID for the current process to 'gid'.
static
setgrent() : int
Documentation for this section has not yet been entered.
static
setgroups(uint[]) : int
Documentation for this section has not yet been entered.
static
setgroups(ulong, uint[]) : int
Documentation for this section has not yet been entered.
static
sethostid(long) : int
Documentation for this section has not yet been entered.
static
sethostname(string) : int
Documentation for this section has not yet been entered.
static
sethostname(string, ulong) : int
Documentation for this section has not yet been entered.
static
setkey(string) : int
Documentation for this section has not yet been entered.
static
setlogin(string) : int
Documentation for this section has not yet been entered.
static
setlogmask(SyslogLevel) : int
Documentation for this section has not yet been entered.
static
setpgid(int, int) : int
Sets the process group ID for the current process to 'pgid'.
static
setpgrp() : int
Documentation for this section has not yet been entered.
static
setpwent() : int
Documentation for this section has not yet been entered.
static
setregid(uint, uint) : int
Sets the real and effective group ID for the current process to 'rgid' and 'egid' respectively.
static
setresgid(uint, uint, uint) : int
Documentation for this section has not yet been entered.
static
setresuid(uint, uint, uint) : int
Documentation for this section has not yet been entered.
static
setreuid(uint, uint) : int
Sets the real and effective user ID for the current process to 'ruid' and 'euid' respectively.
static
setsid() : int
Creates a session and sets the process group ID.
static
settimeofday(ref Timeval) : int
Documentation for this section has not yet been entered.
static
settimeofday(ref Timeval, ref Timezone) : int
Documentation for this section has not yet been entered.
static
setuid(uint) : int
Sets the user ID for the current process to 'uid'.
static
setusershell() : int
Documentation for this section has not yet been entered.
static
setxattr(string, string, byte[]) : int
Documentation for this section has not yet been entered.
static
setxattr(string, string, byte[], XattrFlags) : int
Documentation for this section has not yet been entered.
static
setxattr(string, string, byte[], ulong) : int
Documentation for this section has not yet been entered.
static
setxattr(string, string, byte[], ulong, XattrFlags) : int
Documentation for this section has not yet been entered.
static
sleep(uint) : uint
Documentation for this section has not yet been entered.
static
stat(string, out Stat) : int
Get file status.
static
statvfs(string, out Statvfs) : int
Documentation for this section has not yet been entered.
static
stime(ref long) : int
Documentation for this section has not yet been entered.
static
strerror_r(Errno, System.Text.StringBuilder) : int
Thread-safe version of Stdlib.strerror.
static
strerror_r(Errno, System.Text.StringBuilder, ulong) : int
Thread-safe version of Stdlib.strerror.
static
strsignal(Signum) : string
Documentation for this section has not yet been entered.
static
swab(IntPtr, IntPtr, long) : int
Documentation for this section has not yet been entered.
static
swab(void*, void*, long)
Documentation for this section has not yet been entered.
static
symlink(string, string) : int
Create a symbolic link from oldpath to newpath.
static
sync() : int
sync forces "dirty" (modified) filesystem buffers to be written to disk.
static
sysconf(SysconfName) : long
Documentation for this section has not yet been entered.
static
sysconf(SysconfName, Errno) : long
Documentation for this section has not yet been entered.
static
syslog(SyslogLevel, string) : int
Documentation for this section has not yet been entered.
static
syslog(SyslogFacility, SyslogLevel, string) : int
Documentation for this section has not yet been entered.
static
syslog(SyslogLevel, string, params object[]) : int
Documentation for this section has not yet been entered.
static
syslog(SyslogFacility, SyslogLevel, string, params object[]) : int
Documentation for this section has not yet been entered.
static
tcgetpgrp(int) : int
Documentation for this section has not yet been entered.
static
tcsetpgrp(int, int) : int
Documentation for this section has not yet been entered.
static
telldir(IntPtr) : long
Documentation for this section has not yet been entered.
static
time(out long) : long
Documentation for this section has not yet been entered.
static
truncate(string, long) : int
Truncate or extend a file to a specified length.
static
ttyname(int) : string
Documentation for this section has not yet been entered.
static
ttyname_r(int, System.Text.StringBuilder) : int
Documentation for this section has not yet been entered.
static
ttyname_r(int, System.Text.StringBuilder, ulong) : int
Documentation for this section has not yet been entered.
static
ttyslot() : int
Documentation for this section has not yet been entered.
static
ualarm(uint, uint) : uint
Documentation for this section has not yet been entered.
static
umask(FilePermissions) : FilePermissions
Sets new umask.
static
uname(out Utsname) : int
Documentation for this section has not yet been entered.
static
unlink(string) : int
Deletes a link to a file.
static
utime(string) : int
Documentation for this section has not yet been entered.
static
utime(string, ref Utimbuf) : int
Documentation for this section has not yet been entered.
static
utimes(string, Timeval[]) : int
Documentation for this section has not yet been entered.
static
vhangup() : int
Documentation for this section has not yet been entered.
static
wait(out int) : int
Documentation for this section has not yet been entered.
static
waitpid(int, out int, WaitOptions) : int
Wait for a child process to stop or terminate.
static
WEXITSTATUS(int) : int
Returns the exit status of the process.
static
WIFEXITED(int) : bool
static
WIFSIGNALED(int) : bool
Documentation for this section has not yet been entered.
static
WIFSTOPPED(int) : bool
Documentation for this section has not yet been entered.
static
write(int, IntPtr, ulong) : long
write writes up to 'count' bytes to the file referenced by the file descriptor 'fileDescriptor' from the buffer starting at 'buf'.
static
write(int, void*, ulong) : long
write writes up to 'count' bytes to the file referenced by the file descriptor 'fileDescriptor' from the buffer starting at 'buf'.
static
WSTOPSIG(int) : Signum
Documentation for this section has not yet been entered.
static
WTERMSIG(int) : Signum
Documentation for this section has not yet been entered.