Index: lib/libc/sys/sigaction.2 =================================================================== --- lib/libc/sys/sigaction.2 +++ lib/libc/sys/sigaction.2 @@ -28,7 +28,7 @@ .\" From: @(#)sigaction.2 8.2 (Berkeley) 4/3/94 .\" $FreeBSD$ .\" -.Dd September 30, 2016 +.Dd August 12, 2017 .Dt SIGACTION 2 .Os .Sh NAME @@ -40,11 +40,15 @@ .In signal.h .Bd -literal struct sigaction { - void (*sa_handler)(int); - void (*sa_sigaction)(int, siginfo_t *, void *); + union { + void (*__sa_handler)(int); + void (*__sa_sigaction)(int, struct __siginfo *, void *); + } __sigaction_u; /* signal handler */ int sa_flags; /* see signal options below */ sigset_t sa_mask; /* signal mask to apply */ }; +#define sa_handler __sigaction_u.__sa_handler +#define sa_sigaction __sigaction_u.__sa_sigaction .Ed .Ft int .Fo sigaction