mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
a3b402ae36
fix color for GC DUMP add os module and test support ESP32
63 lines
736 B
Python
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
|