aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2013-04-19 10:08:12 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2013-04-19 14:19:01 +0200
commit433356dcd14f58a8dc97ef75fd66659524ca8716 (patch)
tree593a9f848e9aee7ea2e850f32a14c1eb53ee301a
parentfd88c684f84fcf66962f6e4ce23870af8081fd7b (diff)
downloadman-pages-433356dcd14f58a8dc97ef75fd66659524ca8716.tar.gz
siginterrupt.3: RETURN VALUE: mention that 'errno' is set on error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man3/siginterrupt.311
1 files changed, 8 insertions, 3 deletions
diff --git a/man3/siginterrupt.3 b/man3/siginterrupt.3
index 2d38c73e1c..56a8b910d6 100644
--- a/man3/siginterrupt.3
+++ b/man3/siginterrupt.3
@@ -28,7 +28,7 @@
.\" 386BSD man pages
.\" Modified Sun Jul 25 10:40:51 1993 by Rik Faith (faith@cs.unc.edu)
.\" Modified Sun Apr 14 16:20:34 1996 by Andries Brouwer (aeb@cwi.nl)
-.TH SIGINTERRUPT 3 2011-09-09 "" "Linux Programmer's Manual"
+.TH SIGINTERRUPT 3 2013-04-19 "" "Linux Programmer's Manual"
.SH NAME
siginterrupt \- allow signals to interrupt system calls
.SH SYNOPSIS
@@ -73,8 +73,13 @@ amount of data transferred.
.SH RETURN VALUE
The
.BR siginterrupt ()
-function returns 0 on success, or \-1 if the
-signal number \fIsig\fP is invalid.
+function returns 0 on success
+It returns \-1 if the
+signal number
+.I sig
+is invalid, with
+.I errno
+set to indicate the cause of the error.
.SH ERRORS
.TP
.B EINVAL