mirror of
https://github.com/python/cpython.git
synced 2025-10-19 16:03:42 +00:00
fix comment reference from man 7 signal to man 7 signal-safety (#138554)
docs: fix comment reference from man 7 signal to man 7 signal-safety
This commit is contained in:
parent
c919d02ede
commit
2f5ace780b
3 changed files with 3 additions and 3 deletions
|
@ -630,7 +630,7 @@ reset_signal_handlers(const sigset_t *child_sigmask)
|
|||
* (v)fork to set things up and call exec().
|
||||
*
|
||||
* All of the code in this function must only use async-signal-safe functions,
|
||||
* listed at `man 7 signal` or
|
||||
* listed at `man 7 signal-safety` or
|
||||
* http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_04.html.
|
||||
*
|
||||
* This restriction is documented at
|
||||
|
|
|
@ -1943,7 +1943,7 @@ signal_install_handlers(void)
|
|||
/* Restore signals that the interpreter has called SIG_IGN on to SIG_DFL.
|
||||
*
|
||||
* All of the code in this function must only use async-signal-safe functions,
|
||||
* listed at `man 7 signal` or
|
||||
* listed at `man 7 signal-safety` or
|
||||
* http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_04.html.
|
||||
*
|
||||
* If this function is updated, update also _posix_spawn() of subprocess.py.
|
||||
|
|
|
@ -3595,7 +3595,7 @@ PyOS_getsig(int sig)
|
|||
|
||||
/*
|
||||
* All of the code in this function must only use async-signal-safe functions,
|
||||
* listed at `man 7 signal` or
|
||||
* listed at `man 7 signal-safety` or
|
||||
* http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_04.html.
|
||||
*/
|
||||
PyOS_sighandler_t
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue