pikastech a3b402ae36 add os module
fix color for GC DUMP

add os module and test

support ESP32
2023-03-15 03:20:25 +00:00

63 lines
736 B
Python

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