summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2019-08-30 13:56:30 -0600
committerKarl Williamson <khw@cpan.org>2019-09-02 21:52:11 -0600
commit962fce0f2b9ff77546b969a0e72dce2832391988 (patch)
tree9efc8ad75dc72e3a932707eecac1cb2ad788b5f5 /util.c
parentdf641d45a268b08d7dc0e486d67cf7f441b065ed (diff)
downloadperl-962fce0f2b9ff77546b969a0e72dce2832391988.tar.gz
Document rsignal()
Diffstat (limited to 'util.c')
-rw-r--r--util.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/util.c b/util.c
index 164326c6b4..376cc8ab0f 100644
--- a/util.c
+++ b/util.c
@@ -2692,6 +2692,15 @@ dup2(int oldfd, int newfd)
#ifndef PERL_MICRO
#ifdef HAS_SIGACTION
+/*
+=for apidoc rsignal
+
+A wrapper for the C library L<signal(2)>. Don't use the latter, as the Perl
+version knows things that interact with the rest of the perl interpreter.
+
+=cut
+*/
+
Sighandler_t
Perl_rsignal(pTHX_ int signo, Sighandler_t handler)
{