Update of /cvsroot/python/python/dist/src/Doc/api In directory slayer.i.sourceforge.net:/tmp/cvs-serv30890 Modified Files: api.tex Log Message: Document new APIs PyOS_getsig() and PyOS_setsig(). (Is there no macro to document a typedef?) Fred, please check my latex! Index: api.tex =================================================================== RCS file: /cvsroot/python/python/dist/src/Doc/api/api.tex,v retrieving revision 1.86 retrieving revision 1.87 diff -C2 -r1.86 -r1.87 *** api.tex 2000/09/14 20:24:13 1.86 --- api.tex 2000/09/16 16:30:48 1.87 *************** *** 1093,1096 **** --- 1093,1111 ---- \end{cfuncdesc} + \begin{cfuncdesc}{PyOS_sighandler_t}{PyOS_getsig}{int i} + Return the current signal handler for signal \var{i}. + This is a thin wrapper around either \cfunction{sigaction} or + \cfunction{signal}. Do not call those functions directly! + \ctype{PyOS_sighandler_t} is a typedef alias for \ctype{void (*)(int)}. + \end{cfuncdesc} + + \begin{cfuncdesc}{PyOS_sighandler_t}{PyOS_setsig}{int i, PyOS_sighandler_t h} + Set the signal handler for signal \var{i} to be \var{h}; + return the old signal handler. + This is a thin wrapper around either \cfunction{sigaction} or + \cfunction{signal}. Do not call those functions directly! + \ctype{PyOS_sighandler_t} is a typedef alias for \ctype{void (*)(int)}. + \end{cfuncdesc} + \section{Process Control \label{processControl}}
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4