| Classes |
Pipe - This class provides a means for talking to a forked child process |
ProcessStream - This class provides a means for reading or writing to another process |
Rlimit - Allows you to get and set resource limits |
Rusage - Get the resource usage of this process or all dead child processes |
SelectResult - Returned by Posix.select() |
Stat - Provides functions to interrogate the information returned after a Posix.stat or Posix.lstat call |
Uname - This class provides various system information |
User - Class to wrap the information about a user |
| Functions |
access(string,string) - Tests the accessibility of the specified path |
chmod(string,number) - Changes the permission bits of the specified file |
chown(string,number,number) - Changes the owner and/or the group ID of the specified file |
chroot(string) - Changes the root directory to the specified path |
exec(string) - Starts a new program, replacing the current one |
fork() - Causes the process to fork a child |
getegid() - Get the effective group id of the running process |
geteuid() - Get the effective user id of the running process |
getgid() - Get the real group id of the running process |
getpid() - Get the process ID of the running process |
getppid() - Get the process ID of the parent of the running process |
getPriority(number,number) - Get the scheduling priority |
getuid() - Get the real user id of the running process |
hardlink(string,string) - Create a hardlink from one location to another |
ignoreSignal(number) - Causes the specified signal to be ignored |
kill(number,number) - sends the specified signal to the specified process(es) |
lstat(string) - Gather information about a specified file |
mkfifo(string,number) - creates a FIFO special file |
openprocess(string,mstring) - Open a process for communication using pipes |
registerSigHandler(number,string,object) - registers the specified function as a signal handler |
resetSigAction(number) - Resets the specified signal to the default action |
select(array,array,array,number) - |
setgid(number) - Sets the effective group ID |
setPriority(number,number,number) - Set the scheduling priority |
setsid() - Creates a new session |
setuid(number) - Sets the effective user ID |
softlink(string,string) - Create a hardlink from one location to another |
stat(string) - Gather information about a specified file |
umask(number) - sets the umask to mask & 0777 |
userInfo(number) - Get a Posix.User object with the information about the user |
utime(string,number,number) - Sets the access and modification times of the specified file |
waitpid(number,number) - Waits for a child process to terminate |
| Variables |
PRIO_PGRP - Get/set the priority of a process group |
PRIO_PROCESS - Get/set the priority of a process |
PRIO_USER - Get/set the priority of a user |
RLIM_INFINITY - Special resource limit value which means "no limit" |
RLIMIT_CPU - Resource limit on CPU time in seconds |
RLIMIT_DATA - Resource limit on size of data segment |
RLIMIT_FSIZE - Resource limit on file size |
RLIMIT_LOCKS - Resource limit on number of file locks |
RLIMIT_MEMLOCK - Resource limit on number of bytes of memory to lock into RAM |
RLIMIT_NOFILE - Resource limit on number of open files |
RLIMIT_NPROC - Resource limit on number of processes current UID can have |
RLIMIT_RSS - Resource limit on maximum RSS size in pages |
RLIMIT_STACK - Resource limit on maximum stack size in bytes |
SIGABRT - Abort signal |
SIGALRM - Alarm signal |
SIGBUS - Bus error signal |
SIGCHLD - Child terminated signal |
SIGCONT - Continue signal |
SIGFPE - Floating Point Exception signal |
SIGHUP - Hang Up signal |
SIGILL - Illegal Instruction signal |
SIGINT - Interrupt signal |
SIGIO - I/O now possible signal |
SIGKILL - Kill signal |
SIGPIPE - Broken Pipe signal |
SIGPROF - Profiling timer signal |
SIGQUIT - Quit signal |
SIGSEGV - Segmentation Fault signal |
SIGSTKFLT - Stack fault signal |
SIGSTOP - Stop signal |
SIGTERM - Terminate signal |
SIGTRAP - Trap signal (used for breakpoints) |
SIGTSTP - Terminal stop signal |
SIGTTIN - Terminal input without a controlling terminal signal |
SIGTTOU - Terminal output without a controlling terminal signal |
SIGURG - Urgent data on a socket signal |
SIGUSR1 - User defined signal 1 |
SIGUSR2 - User defined signal 2 |
SIGVTALRM - Virtual alarm clock signal |
SIGWINCH - Window size change signal |
SIGXCPU - CPU time limit exceeded signal |
SIGXFSZ - File size limit exceeded signal |