63 lines
736 B
Python
Raw Normal View History

O_RDONLY: int
O_WRONLY: int
O_RDWR: int
O_APPEND: int
O_CREAT: int
class fileStat:
def st_size(self) -> int:
pass
def __init__(self):
pass
def mkdir(self, path: str, *mode):
pass
def rmdir(self, path: str):
pass
def chdir(self, path: str):
pass
def listdir(self, path: str) -> list:
pass
def getcwd(self) -> str:
pass
def open(self, filename: str, flags: int) -> FILE:
pass
def read(self, fd: FILE, len: int) -> str:
pass
def write(self, fd: FILE, buf: any) -> int:
pass
def lseek(self, fd: FILE, pos: int, how: int) -> int:
pass
def close(self, fd: FILE):
pass
def fstat(self, fd: FILE) -> fileStat:
pass
def remove(self, filename: str):
pass