diff options
author | David Mitchell <davem@iabyn.com> | 2019-11-07 12:30:14 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2019-11-18 09:34:40 +0000 |
commit | e7124897b9f4ae403795f9db247a331b6da9751e (patch) | |
tree | e94c1474a2d2b018fb99f4f151b1de15abf6b00c /iperlsys.h | |
parent | 42d0f81a97a0084ad17af6ac19853db794e41ab5 (diff) | |
download | perl-e7124897b9f4ae403795f9db247a331b6da9751e.tar.gz |
add Siginfo_t
From the code comments:
This is an alias for the OS's siginfo_t, except that where the OS
doesn't support it, declare a dummy version instead. This allows us to
have signal handler functions which always have a Siginfo_t parameter
regardless of platform, (and which will just be passed a NULL value
where the OS doesn't support HAS_SIGACTION).
It doesn't actually do anything useful yet, but will shortly allow
signal handler functions to be rationalised.
Diffstat (limited to 'iperlsys.h')
-rw-r--r-- | iperlsys.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iperlsys.h b/iperlsys.h index ee2c503dff..b4a92ea574 100644 --- a/iperlsys.h +++ b/iperlsys.h @@ -52,7 +52,7 @@ #ifndef Sighandler_t # if defined(HAS_SIGACTION) && defined(SA_SIGINFO) -typedef Signal_t (*Sighandler_t) (int, siginfo_t*, void*); +typedef Signal_t (*Sighandler_t) (int, Siginfo_t*, void*); # else typedef Signal_t (*Sighandler_t) (int); # endif |