From 125db7c1c191d68f184d6af258cc4ae396a52154 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 19 Apr 2013 08:43:02 +0200 Subject: [PATCH] signal.2: RETURN VALUE: mention that 'errno' is set on error Signed-off-by: Michael Kerrisk --- man2/signal.2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/man2/signal.2 b/man2/signal.2 index 41edd4d37..e3d43ea16 100644 --- a/man2/signal.2 +++ b/man2/signal.2 @@ -33,7 +33,7 @@ .\" various sections. .\" 2008-07-11, mtk: rewrote and expanded portability discussion. .\" -.TH SIGNAL 2 2013-02-09 "Linux" "Linux Programmer's Manual" +.TH SIGNAL 2 2013-04-19 "Linux" "Linux Programmer's Manual" .SH NAME signal \- ANSI C signal handling .SH SYNOPSIS @@ -99,6 +99,9 @@ cannot be caught or ignored. returns the previous value of the signal handler, or .B SIG_ERR on error. +In the event of an error, +.I errno +is set to indicate the cause. .SH ERRORS .TP .B EINVAL