12 lines
489 B
Plaintext
12 lines
489 B
Plaintext
import t, c
|
|
|
|
|
|
extern def printf(fmt: t.CConst | str, *args) -> int
|
|
extern def fprintf(stream: bytes, fmt: t.CConst | str, *args) -> int
|
|
extern def sprintf(buf: bytes, fmt: t.CConst | str, *args) -> int
|
|
extern def snprintf(buf: bytes, size: t.CSizeT, fmt: t.CConst | str, *args) -> int
|
|
extern def puts(s: t.CConst | str) -> int
|
|
extern def fputs(s: t.CConst | str, stream: bytes) -> int
|
|
extern def fgets(buf: bytes, size: int, stream: bytes) -> bytes
|
|
extern def fflush(stream: bytes) -> int
|