From d038a74a3f4fa6438d1d70391550a1e88a3213cb Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 19 Apr 2013 08:46:53 +0200 Subject: [PATCH] sigsuspend.2: RETURN VALUE: mention that 'errno' is set on error Signed-off-by: Michael Kerrisk --- man2/sigsuspend.2 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/man2/sigsuspend.2 b/man2/sigsuspend.2 index cd9c1bd87..51eef3ba7 100644 --- a/man2/sigsuspend.2 +++ b/man2/sigsuspend.2 @@ -26,7 +26,7 @@ .\" .\" 2005-09-15, mtk, Created new page by splitting off from sigaction.2 .\" -.TH SIGSUSPEND 2 2008-08-29 "Linux" "Linux Programmer's Manual" +.TH SIGSUSPEND 2 2013-04-19 "Linux" "Linux Programmer's Manual" .SH NAME sigsuspend \- wait for a signal .SH SYNOPSIS @@ -69,8 +69,10 @@ specifying these signals in has no effect on the process's signal mask. .SH RETURN VALUE .BR sigsuspend () -always returns \-1, normally with the error -.BR EINTR . +always returns \-1, with +.I errno +set to inndicate the error (normally, +.BR EINTR ). .SH ERRORS .TP .B EFAULT