static | access(string, AccessMode) : intChecks 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 | alarm(uint) : uintIf 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 | chdir(string) : intChanges the current directory to 'path'. |
static | chmod(string, FileMode) : intChange permissions for a file or folder. |
static | chown(string, int, int) : intChange owner for a file or folder. |
static | chroot(string) : intChange root directory |
static | close(int) : intCloses the file descriptor fileDescriptor. If fileDescriptor is the last file descriptor refering to a file, then the ressources associated with that file are deallocated. The lock held on the file by the current task are released. |
static | closedir(IntPtr) : intCloses the directory represented by IntPtr. IntPtr is a pointer retrieved by opendir() |
static | creat(string, FileMode) : intCreates a file 'pathname' using the given file mode flags. |
static | dup(int) : intdup 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 | exit(int) : intTerminates the process that calls the function with the status 'status'. |
static | fork() : intfork() turns a single process into 2 identical processes, known as the parent and the child. |
static | getegid() : intGet the effective group ID for the current process. |
static | geteuid() : intGet the effective user ID for the current process. |
static | getgid() : intGet the group ID for the current process. |
static | getgroupname(int) : stringRetrieve the groupname for the given GID. |
static | gethostname() : stringRetrieves the hostname. |
static | GetHostName() : stringRetrieves the hostname. |
static | getpgrp() : intGet the process group. |
static | getpid() : intReturns the unique identifier for the current process. |
static | getppid() : intReturns the unique identifier for the parent process. |
static | getuid() : intGet the user ID for the current process. |
static | getusername(int) : stringRetrieves the username for the UID in question. |
static | isatty(int) : boolBoolean value indicating if the file at fileDescriptor is a tty. |
static | kill(int, int)Kill the process 'pid' with the given signal. |
static | lchown(string, int, int) : intChange the ownership for 'path' |
static | link(string, string) : intCreate a hard link from oldPath to newPath. |
static | lseek(int, int, int) : intChanges the read/write file offset of a file descriptor. |
static | lstat(string, out Stat) : intRetrieves via output paramter the file status struct for a file. |
static | mkdir(string, FileMode) : intCreate a directory at 'path' with the given FileMode. |
static | nice(int) : intChange the priority of the current process by given increment. |
static | open(string, OpenFlags) : intCreates/opens a file 'pathname' using the given file open flags. |
static | open(string, OpenFlags, FileMode) : intCreates/opens a file 'pathname' using the given open and file mode flags. |
static | opendir(string) : IntPtrOpens a directory at 'path'. |
static | pause() : intPause the current process. The task sleeps until a signal is received. |
static | read(int, void*, IntPtr) : IntPtrReads up to count bytes into buf from fileDescriptor. |
static | readdir(IntPtr) : stringRead entry from a directory IntPtr as string. |
static | readlink(string) : stringGets the destination of a symlink as a string. See also read() |
static | rename(string, string) : intRename oldPath to newPath. |
static | rmdir(string) : intRemoves the directory at 'path'. |
static | setgid(int) : intSets the group ID for the current process to 'gid'. |
static | setpgid(int, int) : intSets the process group ID for the current process to 'pgid'. |
static | setregid(int, int) : intSets the real and effective group ID for the current process to 'rgid' and 'egid' respectively. |
static | setreuid(int, int) : intSets the real and effective user ID for the current process to 'ruid' and 'euid' respectively. |
static | setsid() : intCreates a session and sets the process group ID. |
static | setuid(int) : intSets the user ID for the current process to 'uid'. |
static | signal(int, Syscall.sighandler_t) : intRegister a handler for a given posix signal. |
static | stat(string, out Stat) : intRetrieves via output paramter the file status struct for a file. |
static | strerror(int) : stringGet error message string for 'errnum'. |
static | symlink(string, string) : intCreate a soft link from oldPath to newPath. |
static | sync()sync forces "dirty" (modified) filesystem buffers to be written to disk. |
static | umask(int) : intSets new umask. |
static | unlink(string) : intDeletes a link to a file. |
static | waitpid(int, WaitOptions) : intwaitpid() will force a parent process to wait for a child process to stop or terminate. |
static | waitpid(int, out int, WaitOptions) : intwaitpid() will force a parent process to wait for a child process to stop or terminate. |
static | WEXITSTATUS(int) : intWIFEXITSTATUS is a method that take an argument status, of type int, as returned by waitpid(). |
static | WIFEXITED(int) : intWIFEXITED is a method that take an argument status, of type int, as returned by waitpid(). |
static | WIFSIGNALED(int) : intWIFSIGNALED is a method that take an argument status, of type int, as returned by waitpid(). |
static | WIFSTOPPED(int) : intWIFSTOPPED is a method that take an argument status, of type int, as returned by waitpid(). |
static | write(int, void*, IntPtr) : IntPtr write writes up to 'count' bytes to the file referenced by the file
descriptor 'fileDescriptor' from the buffer starting at 'buf'.
|
static | WSTOPSIG(int) : intWSTOPSIG is a method that take an argument status, of type int, as returned by waitpid(). |
static | WTERMSIG(int) : intWTERMSIG is a method that take an argument status, of type int, as returned by waitpid(). |