mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 20:24:30 +08:00
95 lines
2.2 KiB
Python
95 lines
2.2 KiB
Python
"""Stub file for the 'signal' module."""
|
|
# This is an autogenerated file. It serves as a starting point
|
|
# for a more precise manual annotation of this module.
|
|
# Feel free to edit the source below, but remove this header when you do.
|
|
|
|
from typing import List, Tuple, Dict, Undefined, GenericType
|
|
|
|
ITIMER_PROF = Undefined(long)
|
|
ITIMER_REAL = Undefined(long)
|
|
ITIMER_VIRTUAL = Undefined(long)
|
|
ItimerError = Undefined(object)
|
|
NSIG = Undefined(long)
|
|
SIGABRT = Undefined(long)
|
|
SIGALRM = Undefined(long)
|
|
SIGBUS = Undefined(long)
|
|
SIGCHLD = Undefined(long)
|
|
SIGCLD = Undefined(long)
|
|
SIGCONT = Undefined(long)
|
|
SIGFPE = Undefined(long)
|
|
SIGHUP = Undefined(long)
|
|
SIGILL = Undefined(long)
|
|
SIGINT = Undefined(long)
|
|
SIGIO = Undefined(long)
|
|
SIGIOT = Undefined(long)
|
|
SIGKILL = Undefined(long)
|
|
SIGPIPE = Undefined(long)
|
|
SIGPOLL = Undefined(long)
|
|
SIGPROF = Undefined(long)
|
|
SIGPWR = Undefined(long)
|
|
SIGQUIT = Undefined(long)
|
|
SIGRTMAX = Undefined(long)
|
|
SIGRTMIN = Undefined(long)
|
|
SIGSEGV = Undefined(long)
|
|
SIGSTOP = Undefined(long)
|
|
SIGSYS = Undefined(long)
|
|
SIGTERM = Undefined(long)
|
|
SIGTRAP = Undefined(long)
|
|
SIGTSTP = Undefined(long)
|
|
SIGTTIN = Undefined(long)
|
|
SIGTTOU = Undefined(long)
|
|
SIGURG = Undefined(long)
|
|
SIGUSR1 = Undefined(long)
|
|
SIGUSR2 = Undefined(long)
|
|
SIGVTALRM = Undefined(long)
|
|
SIGWINCH = Undefined(long)
|
|
SIGXCPU = Undefined(long)
|
|
SIGXFSZ = Undefined(long)
|
|
SIG_DFL = Undefined(long)
|
|
SIG_IGN = Undefined(long)
|
|
|
|
def alarm(a: int) -> long: ...
|
|
|
|
def default_int_handler(*args, **kwargs) -> object:
|
|
raise KeyboardInterrupt()
|
|
|
|
def getitimer(a: int) -> tuple: ...
|
|
|
|
def getsignal(a: int) -> None:
|
|
raise ValueError()
|
|
|
|
def pause() -> None: ...
|
|
|
|
def pthread_kill(a: int, b: int) -> None:
|
|
raise OSError()
|
|
|
|
def pthread_sigmask(a: int, b) -> object:
|
|
raise OSError()
|
|
|
|
def set_wakeup_fd(a: int) -> long:
|
|
raise ValueError()
|
|
|
|
def setitimer(a: int, b: float, *args, **kwargs) -> tuple: ...
|
|
|
|
def siginterrupt(a: int, b: int) -> None:
|
|
raise OSError()
|
|
raise ValueError()
|
|
|
|
def signal(a: int, b) -> None:
|
|
raise OSError()
|
|
raise TypeError()
|
|
raise ValueError()
|
|
|
|
def sigpending() -> object:
|
|
raise OSError()
|
|
|
|
def sigtimedwait(a, b) -> object:
|
|
raise OSError()
|
|
raise ValueError()
|
|
|
|
def sigwait(a) -> long:
|
|
raise OSError()
|
|
|
|
def sigwaitinfo(a) -> tuple:
|
|
raise OSError()
|