Lichen

lib/posix/process.py

932:c07b0dd14f85
11 months ago Paul Boddie Moved integer instantiation support to library functions.
     1 #!/usr/bin/env python     2      3 def abort(): pass     4 def chroot(path): pass     5 def ctermid(): pass     6 def execv(path, args): pass     7 def execve(path, args, env): pass     8 def fork(): pass     9 def forkpty(): pass    10 def getcwd(): pass    11 def getcwdu(): pass    12 def getegid(): pass    13 def geteuid(): pass    14 def getgid(): pass    15 def getgroups(): pass    16 def getloadavg(): pass    17 def getlogin(): pass    18 def getpgid(pid): pass    19 def getpgrp(): pass    20 def getpid(): pass    21 def getppid(): pass    22 def getresgid(): pass    23 def getresuid(): pass    24 def getsid(pid): pass    25 def getuid(): pass    26 def initgroups(username, gid): pass    27 def kill(pid, sig): pass    28 def killpg(pgid, sig): pass    29 def nice(inc): pass    30 def popen(command, mode='r', bufsize=None): pass    31 def setegid(gid): pass    32 def seteuid(uid): pass    33 def setgid(gid): pass    34 def setgroups(list): pass    35 def setpgid(pid, pgrp): pass    36 def setpgrp(): pass    37 def setregid(rgid, egid): pass    38 def setresgid(rgid, egid, sgid): pass    39 def setresuid(ruid, euid, suid): pass    40 def setreuid(ruid, euid): pass    41 def setsid(): pass    42 def setuid(uid): pass    43 def system(command): pass    44 def tcgetpgrp(fd): pass    45 def tcsetpgrp(fd, pgid): pass    46 def wait(): pass    47 def wait3(options): pass    48 def wait4(pid, options): pass    49 def waitpid(pid, options): pass    50     51 def WCOREDUMP(status): pass    52 def WEXITSTATUS(status): pass    53 def WIFCONTINUED(status): pass    54 def WIFEXITED(status): pass    55 def WIFSIGNALED(status): pass    56 def WIFSTOPPED(status): pass    57 def WSTOPSIG(status): pass    58 def WTERMSIG(status): pass    59     60 EX_CANTCREAT = 73    61 EX_CONFIG = 78    62 EX_DATAERR = 65    63 EX_IOERR = 74    64 EX_NOHOST = 68    65 EX_NOINPUT = 66    66 EX_NOPERM = 77    67 EX_NOUSER = 67    68 EX_OK = 0    69 EX_OSERR = 71    70 EX_OSFILE = 72    71 EX_PROTOCOL = 76    72 EX_SOFTWARE = 70    73 EX_TEMPFAIL = 75    74 EX_UNAVAILABLE = 69    75 EX_USAGE = 64    76     77 NGROUPS_MAX = 65536    78     79 P_WAIT = 0    80 P_NOWAIT = P_NOWAITO = 1    81     82 WCONTINUED = 8    83 WNOHANG = 1    84 WUNTRACED = 2    85     86 # vim: tabstop=4 expandtab shiftwidth=4