43 lines
846 B
Python
43 lines
846 B
Python
"""
|
|
Auto-generated Python stub file from os._posix.py
|
|
Module: os._posix
|
|
"""
|
|
|
|
|
|
import t, c
|
|
from stdint import *
|
|
import posix
|
|
import memhub
|
|
import stdlib
|
|
|
|
MAX_PATH_LEN: t.CDefine = 4096
|
|
_mbuddy: t.CExtern | memhub.MemBuddy | t.CPtr
|
|
|
|
def _stat(path: str) -> posix.Stat | t.CPtr: pass
|
|
|
|
def exists(path: str) -> bool: pass
|
|
|
|
def isdir(path: str) -> bool: pass
|
|
|
|
def isfile(path: str) -> bool: pass
|
|
|
|
def getsize(path: str) -> t.CInt64T: pass
|
|
|
|
def getcwd_impl() -> str: pass
|
|
|
|
def chdir_impl(path: str) -> int: pass
|
|
|
|
def mkdir_impl(path: str) -> int: pass
|
|
|
|
def remove(path: str) -> int: pass
|
|
|
|
def rmdir_impl(path: str) -> int: pass
|
|
|
|
def rename_impl(old_path: str, new_path: str) -> int: pass
|
|
|
|
def chmod_impl(path: str, mode: int) -> int: pass
|
|
|
|
def listdir(path: str, out_names: str, max_count: ULONG) -> ULONG: pass
|
|
|
|
def system_impl(cmd: str) -> int: pass
|