paul@6 | 1 | #!/usr/bin/env python |
paul@6 | 2 | |
paul@6 | 3 | def close(fd): pass |
paul@6 | 4 | def closerange(fd_low, fd_high): pass |
paul@6 | 5 | def dup(fd): pass |
paul@6 | 6 | def dup2(old_fd, new_fd): pass |
paul@6 | 7 | def fchdir(fildes): pass |
paul@6 | 8 | def fchmod(fd, mode): pass |
paul@6 | 9 | def fchown(fd, uid, gid): pass |
paul@6 | 10 | def fdatasync(fildes): pass |
paul@6 | 11 | def fdopen(fd, mode='r', bufsize=None): pass |
paul@6 | 12 | def fpathconf(fd, name): pass |
paul@6 | 13 | def fstat(fd): pass |
paul@6 | 14 | def fstatvfs(fd): pass |
paul@6 | 15 | def fsync(fildes): pass |
paul@6 | 16 | def ftruncate(fd, length): pass |
paul@6 | 17 | def isatty(fd): pass |
paul@6 | 18 | def lseek(fd, pos, how): pass |
paul@6 | 19 | def open(filename, flag, mode=0777): pass |
paul@6 | 20 | def openpty(): pass |
paul@6 | 21 | def pipe(): pass |
paul@6 | 22 | def putenv(key, value): pass |
paul@6 | 23 | def times(): pass |
paul@6 | 24 | def ttyname(fd): pass |
paul@6 | 25 | def umask(new_mask): pass |
paul@6 | 26 | def uname(): pass |
paul@6 | 27 | def unsetenv(key): pass |
paul@6 | 28 | def write(fd, string): pass |
paul@6 | 29 | |
paul@6 | 30 | O_APPEND = 1024 |
paul@6 | 31 | O_ASYNC = 8192 |
paul@6 | 32 | O_CREAT = 64 |
paul@6 | 33 | O_DIRECT = 16384 |
paul@6 | 34 | O_DIRECTORY = 65536 |
paul@6 | 35 | O_DSYNC = 4096 |
paul@6 | 36 | O_EXCL = 128 |
paul@6 | 37 | O_LARGEFILE = 32768 |
paul@6 | 38 | O_NDELAY = 2048 |
paul@6 | 39 | O_NOATIME = 262144 |
paul@6 | 40 | O_NOCTTY = 256 |
paul@6 | 41 | O_NOFOLLOW = 131072 |
paul@6 | 42 | O_NONBLOCK = 2048 |
paul@6 | 43 | O_RDONLY = 0 |
paul@6 | 44 | O_RDWR = 2 |
paul@6 | 45 | O_RSYNC = 1052672 |
paul@6 | 46 | O_SYNC = 1052672 |
paul@6 | 47 | O_TRUNC = 512 |
paul@6 | 48 | O_WRONLY = 1 |
paul@6 | 49 | |
paul@6 | 50 | SEEK_CUR = 1 |
paul@6 | 51 | SEEK_END = 2 |
paul@6 | 52 | SEEK_SET = 0 |
paul@6 | 53 | |
paul@6 | 54 | # vim: tabstop=4 expandtab shiftwidth=4 |