"""
Auto-generated Python stub file from stdio.py
Module: stdio
"""


import t, c

def printf(fmt: t.CConst | str, *args) -> t.CInt | t.State: pass

def fprintf(stream: bytes, fmt: t.CConst | str, *args) -> t.CInt | t.State: pass

def sprintf(buf: bytes, fmt: t.CConst | str, *args) -> t.CInt | t.State: pass

def snprintf(buf: bytes, size: t.CSizeT, fmt: t.CConst | str, *args) -> t.CInt | t.State: pass

def puts(s: t.CConst | str) -> t.CInt | t.State: pass

def fputs(s: t.CConst | str, stream: bytes) -> t.CInt | t.State: pass

def fgets(buf: bytes, size: t.CInt, stream: bytes) -> bytes | t.State: pass

def fflush(stream: bytes) -> t.CInt | t.State: pass


stdin: t.CExtern | bytes
stdout: t.CExtern | bytes
stderr: t.CExtern | bytes