From a383b70f658ea506224e249603324658c7a89c57 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Tue, 22 Jan 2013 23:37:21 +0100 Subject: [PATCH] sigaction.2: Note feature test macro requirements for 'siginfo_t' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://bugzilla.kernel.org/show_bug.cgi?id=52931 Reported-by: Zsbán Ambrus Signed-off-by: Michael Kerrisk --- man2/sigaction.2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/man2/sigaction.2 b/man2/sigaction.2 index 48ea28b82..a675e9377 100644 --- a/man2/sigaction.2 +++ b/man2/sigaction.2 @@ -42,7 +42,7 @@ .\" 2010-06-11 Andi Kleen, add hwpoison signal extensions .\" 2010-06-11 mtk, improvements to discussion of various siginfo_t fields. .\" -.TH SIGACTION 2 2012-09-23 "Linux" "Linux Programmer's Manual" +.TH SIGACTION 2 2013-01-22 "Linux" "Linux Programmer's Manual" .SH NAME sigaction \- examine and change a signal action .SH SYNOPSIS @@ -61,6 +61,9 @@ Feature Test Macro Requirements for glibc (see .ad l .BR sigaction (): _POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE || _POSIX_SOURCE + +.IR siginfo_t : +_POSIX_C_SOURCE >= 199309L .ad b .SH DESCRIPTION The