Lichen

lib/posix/filesys.py

8:84cd26e51a79
2016-08-30 Paul Boddie Merge changes from default branch. remove-name-inheritance
     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 read(fd, buffersize): pass    18 def readlink(path): pass    19 def remove(path): pass    20 def rename(old, new): pass    21 def rmdir(path): pass    22 def symlink(src, dst): pass    23 def unlink(path): pass    24 def utime(path, (atime, mtime)): pass    25     26 F_OK = 0    27 R_OK = 4    28 W_OK = 2    29 X_OK = 1    30     31 # vim: tabstop=4 expandtab shiftwidth=4