Lichen

Annotated lib/posix/__init__.py

330:fe62bfdc0d27
2016-12-06 Paul Boddie Fixed/restored the posix submodule imports.
paul@6 1
#!/usr/bin/env python
paul@6 2
paul@328 3
"POSIX support package."
paul@6 4
paul@330 5
from posix.core import name, linesep
paul@330 6
from posix.conf import confstr, pathconf, strerror, sysconf
paul@330 7
from posix.filesys import access, chdir, chmod, chown, lchown, link, listdir, \
paul@330 8
                          lstat, major, makedev, minor, mkdir, mkfifo, mknod, \
paul@330 9
                          read, readlink, remove, rename, rmdir, symlink, \
paul@330 10
                          unlink, utime
paul@330 11
from posix.io import close, closerange, dup, dup2, fchdir, fchmod, fchown, \
paul@330 12
                     fdatasync, fdopen, fpathconf, fstat, fstatvfs, fsync, \
paul@330 13
                     ftruncate, isatty, lseek, open, openpty, pipe, putenv, \
paul@330 14
                     read, times, ttyname, umask, uname, unsetenv, write
paul@330 15
from posix.process import abort, chroot, ctermid, execv, execve, fork, \
paul@330 16
                          forkpty, getcwd, getcwdu, getegid, geteuid, getgid, \
paul@330 17
                          getgroups, getloadavg, getlogin, getpgid, getpgrp, \
paul@330 18
                          getpid, getppid, getresgid, getresuid, getsid, \
paul@330 19
                          getuid, initgroups, kill, killpg, nice, popen, \
paul@330 20
                          setegid, seteuid, setgid, setgroups, setpgid, \
paul@330 21
                          setpgrp, setregid, setresgid, setresuid, setreuid, \
paul@330 22
                          setsid, setuid, system, tcgetpgrp, tcsetpgrp, wait, \
paul@330 23
                          wait3, wait4, waitpid
paul@330 24
from posix.random import urandom
paul@330 25
from posix.stat import stat, stat_float_times, statvfs
paul@330 26
from posix.temp import tempnam, tmpfile, tmpnam
paul@330 27
paul@6 28
# vim: tabstop=4 expandtab shiftwidth=4