| 1 | from typing import List, Optional, Tuple
|
| 2 |
|
| 3 | # generated by ./configure
|
| 4 | HAVE_GLOB_PERIOD: int
|
| 5 | HAVE_FNM_EXTMATCH: int
|
| 6 |
|
| 7 | # libc values
|
| 8 | FNM_CASEFOLD: int
|
| 9 | GLOB_PERIOD: int
|
| 10 | REG_ICASE: int
|
| 11 | REG_NEWLINE: int
|
| 12 | REG_NOTBOL: int
|
| 13 |
|
| 14 | def gethostname() -> str: ...
|
| 15 | def glob(pat: str, flags: int = 0) -> List[str]: ...
|
| 16 | def fnmatch(pat: str, s: str, flags: int = 0) -> bool: ...
|
| 17 | def regex_first_group_match(regex: str, s: str, pos: int) -> Optional[Tuple[int, int]]: ...
|
| 18 | def regex_search(regex: str, cflags: int, s: str, eflags: int, pos: int = 0) -> Optional[List[int]]: ...
|
| 19 | def wcswidth(s: str) -> int: ...
|
| 20 | def get_terminal_width() -> int: ...
|
| 21 | def print_time(real: float, user: float, sys: float) -> None: ...
|
| 22 | def realpath(path: str) -> str: ...
|
| 23 |
|
| 24 | def cpython_reset_locale() -> None: ...
|
| 25 |
|
| 26 | def sleep_until_error(seconds: float) -> int: ...
|