| |
- WEXITSTATUS(no arg info)
- WEXITSTATUS(status) -> integer
- Return the process return code from 'status'.
- WIFEXITED(no arg info)
- WIFEXITED(status) -> Boolean
- Return true if the process returning 'status' exited using the exit()
- system call.
- WIFSIGNALED(no arg info)
- WIFSIGNALED(status) -> Boolean
- Return true if the process returning 'status' was terminated by a signal.
- WIFSTOPPED(no arg info)
- WIFSTOPPED(status) -> Boolean
- Return true if the process returning 'status' was stopped.
- WSTOPSIG(no arg info)
- WSTOPSIG(status) -> integer
- Return the signal that stopped the process that provided the 'status' value.
- WTERMSIG(no arg info)
- WTERMSIG(status) -> integer
- Return the signal that terminated the process that provided the 'status'
- value.
- _exit(no arg info)
- _exit(status)
- Exit to the system with specified status, without normal exit processing.
- access(no arg info)
- access(path, mode) -> 1 if granted, 0 otherwise
- Test for access to a file.
- chdir(no arg info)
- chdir(path) -> None
- Change the current working directory to the specified path.
- chmod(no arg info)
- chmod(path, mode) -> None
- Change the access permissions of a file.
- chown(no arg info)
- chown(path, uid, gid) -> None
- Change the owner and group id of path to the numeric uid and gid.
- close(no arg info)
- close(fd) -> None
- Close a file descriptor (for low level IO).
- dup(no arg info)
- dup(fd) -> fd2
- Return a duplicate of a file descriptor.
- dup2(no arg info)
- dup2(fd, fd2) -> None
- Duplicate file descriptor.
- execv(no arg info)
- execv(path, args)
- Execute an executable path with arguments, replacing current process.
- path: path of executable file
- args: tuple or list of strings
- execve(no arg info)
- execve(path, args, env)
- Execute a path with arguments and environment, replacing current process.
- path: path of executable file
- args: tuple or list of arguments
- env: dictonary of strings mapping to strings
- fdatasync(no arg info)
- fdatasync(fildes) -> None
- force write of file with filedescriptor to disk.
- does not force update of metadata.
- fdopen(no arg info)
- fdopen(fd, [, mode='r' [, bufsize]]) -> file_object
- Return an open file object connected to a file descriptor.
- fork(no arg info)
- fork() -> pid
- Fork a child process.
- Return 0 to child process and PID of child to parent process.
- fstat(no arg info)
- fstat(fd) -> (mode, ino, dev, nlink, uid, gid, size, atime, mtime, ctime)
- Like stat(), but for an open file descriptor.
- fstatvfs(no arg info)
- fstatvfs(fd) ->
- (bsize, frsize, blocks, bfree, bavail, files, ffree, favail, flag, namemax)
- Perform an fstatvfs system call on the given fd.
- fsync(no arg info)
- fsync(fildes) -> None
- force write of file with filedescriptor to disk.
- ftruncate(no arg info)
- ftruncate(fd, length) -> None
- Truncate a file to a specified length.
- getcwd(no arg info)
- getcwd() -> path
- Return a string representing the current working directory.
- getegid(no arg info)
- getegid() -> egid
- Return the current process's effective group id.
- geteuid(no arg info)
- geteuid() -> euid
- Return the current process's effective user id.
- getgid(no arg info)
- getgid() -> gid
- Return the current process's group id.
- getpgrp(no arg info)
- getpgrp() -> pgrp
- Return the current process group id.
- getpid(no arg info)
- getpid() -> pid
- Return the current process id
- getppid(no arg info)
- getppid() -> ppid
- Return the parent's process id.
- getuid(no arg info)
- getuid() -> uid
- Return the current process's user id.
- kill(no arg info)
- kill(pid, sig) -> None
- Kill a process with a signal.
- link(no arg info)
- link(src, dst) -> None
- Create a hard link to a file.
- listdir(no arg info)
- listdir(path) -> list_of_strings
- Return a list containing the names of the entries in the directory.
- path: path of directory to list
- The list is in arbitrary order. It does not include the special
- entries '.' and '..' even if they are present in the directory.
- lseek(no arg info)
- lseek(fd, pos, how) -> newpos
- Set the current position of a file descriptor.
- lstat(no arg info)
- lstat(path) -> (mode,ino,dev,nlink,uid,gid,size,atime,mtime,ctime)
- Like stat(path), but do not follow symbolic links.
- mkdir(no arg info)
- mkdir(path [, mode=0777]) -> None
- Create a directory.
- mkfifo(no arg info)
- mkfifo(file, [, mode=0666]) -> None
- Create a FIFO (a POSIX named pipe).
- nice(no arg info)
- nice(inc) -> new_priority
- Decrease the priority of process and return new priority.
- open(no arg info)
- open(filename, flag [, mode=0777]) -> fd
- Open a file (for low level IO).
- pipe(no arg info)
- pipe() -> (read_end, write_end)
- Create a pipe.
- popen(no arg info)
- popen(command [, mode='r' [, bufsize]]) -> pipe
- Open a pipe to/from a command returning a file object.
- putenv(no arg info)
- putenv(key, value) -> None
- Change or add an environment variable.
- read(no arg info)
- read(fd, buffersize) -> string
- Read a file descriptor.
- readlink(no arg info)
- readlink(path) -> path
- Return a string representing the path to which the symbolic link points.
- remove(no arg info)
- remove(path) -> None
- Remove a file (same as unlink(path)).
- rename(no arg info)
- rename(old, new) -> None
- Rename a file or directory.
- rmdir(no arg info)
- rmdir(path) -> None
- Remove a directory.
- setgid(no arg info)
- setgid(gid) -> None
- Set the current process's group id.
- setpgid(no arg info)
- setpgid(pid, pgrp) -> None
- Call the system call setpgid().
- setpgrp(no arg info)
- setpgrp() -> None
- Make this process a session leader.
- setsid(no arg info)
- setsid() -> None
- Call the system call setsid().
- setuid(no arg info)
- setuid(uid) -> None
- Set the current process's user id.
- stat(no arg info)
- stat(path) -> (mode,ino,dev,nlink,uid,gid,size,atime,mtime,ctime)
- Perform a stat system call on the given path.
- statvfs(no arg info)
- statvfs(path) ->
- (bsize, frsize, blocks, bfree, bavail, files, ffree, favail, flag, namemax)
- Perform a statvfs system call on the given path.
- strerror(no arg info)
- strerror(code) -> string
- Translate an error code to a message string.
- symlink(no arg info)
- symlink(src, dst) -> None
- Create a symbolic link.
- system(no arg info)
- system(command) -> exit_status
- Execute the command (a string) in a subshell.
- tcgetpgrp(no arg info)
- tcgetpgrp(fd) -> pgid
- Return the process group associated with the terminal given by a fd.
- tcsetpgrp(no arg info)
- tcsetpgrp(fd, pgid) -> None
- Set the process group associated with the terminal given by a fd.
- times(no arg info)
- times() -> (utime, stime, cutime, cstime, elapsed_time)
- Return a tuple of floating point numbers indicating process times.
- ttyname(no arg info)
- ttyname(fd) -> String
- Return the name of the terminal device connected to 'fd'.
- umask(no arg info)
- umask(new_mask) -> old_mask
- Set the current numeric umask and return the previous umask.
- uname(no arg info)
- uname() -> (sysname, nodename, release, version, machine)
- Return a tuple identifying the current operating system.
- unlink(no arg info)
- unlink(path) -> None
- Remove a file (same as remove(path)).
- utime(no arg info)
- utime(path, (atime, utime)) -> None
- Set the access and modified time of the file to the given values.
- wait(no arg info)
- wait() -> (pid, status)
- Wait for completion of a child process.
- waitpid(no arg info)
- waitpid(pid, options) -> (pid, status)
- Wait for completion of a give child process.
- write(no arg info)
- write(fd, string) -> byteswritten
- Write a string to a file descriptor.
|