Lichen

lib/posix/filesys.py

932:c07b0dd14f85
11 months ago Paul Boddie Moved integer instantiation support to library functions.
     1 #!/usr/bin/env python     2      3 def access(path, mode): pass     4 def chdir(path): pass     5 def chmod(path, mode): pass     6 def chown(path, uid, gid): pass     7 def lchown(path, uid, gid): pass     8 def link(src, dst): pass     9 def listdir(path): pass    10 def lstat(path): pass    11 def major(device): pass    12 def makedev(major, minor): pass    13 def minor(device): pass    14 def mkdir(path, mode=0777): pass    15 def mkfifo(filename, mode=0666): pass    16 def mknod(filename, mode=0600, device=None): pass    17 def readlink(path): pass    18 def remove(path): pass    19 def rename(old, new): pass    20 def rmdir(path): pass    21 def symlink(src, dst): pass    22 def unlink(path): pass    23 def utime(path, (atime, mtime)): pass    24     25 F_OK = 0    26 R_OK = 4    27 W_OK = 2    28 X_OK = 1    29     30 # vim: tabstop=4 expandtab shiftwidth=4