Lines Matching refs:path
34 def mkdirat(fd, path, mode):
39 if not isinstance(path, six.string_types):
40 raise TypeError("path must be a string")
44 rv = lib.mkdirat(fd, force_bytes(path), mode)
46 raise OSError(ffi.errno, os.strerror(ffi.errno), path)
49 def openat(fildes, path, oflag, mode):
54 if not isinstance(path, six.string_types):
55 raise TypeError("path must be a string")
61 rv = lib.openat(fildes, force_bytes(path), oflag, mode)
63 raise OSError(ffi.errno, os.strerror(ffi.errno), path)
84 def unlinkat(dirfd, path, flag):
89 if not isinstance(path, six.string_types):
90 raise TypeError("path must be a string")
94 rv = lib.unlinkat(dirfd, force_bytes(path), flag)
96 raise OSError(ffi.errno, os.strerror(ffi.errno), path)