45 lines
1.2 KiB
Python
45 lines
1.2 KiB
Python
"""
|
|
Auto-generated Python stub file from string.py
|
|
Module: string
|
|
"""
|
|
|
|
|
|
from stdint import *
|
|
import t, c
|
|
|
|
def strcpy(dest: str, src: str) -> str: pass
|
|
|
|
def strncpy(dest: str, src: str, n: t.CSizeT) -> str: pass
|
|
|
|
def strlen(src: str) -> t.CSizeT | t.CExport: pass
|
|
|
|
def strcmp(str1: str, str2: str) -> t.CInt: pass
|
|
|
|
def samestr(str1: str, str2: str) -> bool: pass
|
|
|
|
def strncmp(str1: str, str2: str, n: t.CSizeT) -> t.CInt: pass
|
|
|
|
def memcmp(ptr1: t.CVoid | t.CPtr, ptr2: t.CVoid | t.CPtr, n: t.CSizeT) -> t.CInt: pass
|
|
|
|
def strchr(s: str, cr: t.CInt) -> str: pass
|
|
|
|
def strrchr(s: str, cr: t.CInt) -> str: pass
|
|
|
|
def strspn(s: str, skip: str) -> int: pass
|
|
|
|
def memset(ptr: t.CVoid | t.CPtr, value: t.CInt, num: t.CSizeT) -> t.CVoid | t.CPtr | t.CExport: pass
|
|
|
|
def memset32(ptr: t.CVoid | t.CPtr, value: t.CUInt32T, count: t.CSizeT) -> t.CVoid | t.CPtr: pass
|
|
|
|
def memcpy(dest: t.CVoid | t.CPtr, src: t.CVoid | t.CPtr, num: t.CSizeT) -> t.CVoid | t.CPtr | t.CExport: pass
|
|
|
|
def memmove(dest: t.CVoid | t.CPtr, src: t.CVoid | t.CPtr, num: t.CSizeT) -> t.CVoid | t.CPtr: pass
|
|
|
|
def atoi(src: str) -> t.CInt: pass
|
|
|
|
def atoll(src: str) -> t.CInt64T: pass
|
|
|
|
def atof(src: str) -> t.CDouble: pass
|
|
|
|
def split(s: str, delim: str, result: list[str]) -> int: pass
|