File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1092,6 +1092,21 @@ \section{OS Utilities \label{os}}
10921092code.
10931093\end {cfuncdesc }
10941094
1095+ \begin {cfuncdesc }{PyOS_sighandler_t}{PyOS_getsig}{int i}
1096+ Return the current signal handler for signal \var {i}.
1097+ This is a thin wrapper around either \cfunction {sigaction} or
1098+ \cfunction {signal}. Do not call those functions directly!
1099+ \ctype {PyOS_sighandler_t} is a typedef alias for \ctype {void (*)(int)}.
1100+ \end {cfuncdesc }
1101+
1102+ \begin {cfuncdesc }{PyOS_sighandler_t}{PyOS_setsig}{int i, PyOS_sighandler_t h}
1103+ Set the signal handler for signal \var {i} to be \var {h};
1104+ return the old signal handler.
1105+ This is a thin wrapper around either \cfunction {sigaction} or
1106+ \cfunction {signal}. Do not call those functions directly!
1107+ \ctype {PyOS_sighandler_t} is a typedef alias for \ctype {void (*)(int)}.
1108+ \end {cfuncdesc }
1109+
10951110
10961111\section {Process Control \label {processControl } }
10971112
You can’t perform that action at this time.
0 commit comments