summaryrefslogtreecommitdiffstats
path: root/upstream/opensuse-tumbleweed/man3/siginterrupt.3
diff options
context:
space:
mode:
Diffstat (limited to 'upstream/opensuse-tumbleweed/man3/siginterrupt.3')
-rw-r--r--upstream/opensuse-tumbleweed/man3/siginterrupt.313
1 files changed, 6 insertions, 7 deletions
diff --git a/upstream/opensuse-tumbleweed/man3/siginterrupt.3 b/upstream/opensuse-tumbleweed/man3/siginterrupt.3
index 3f4c2461..82c17e26 100644
--- a/upstream/opensuse-tumbleweed/man3/siginterrupt.3
+++ b/upstream/opensuse-tumbleweed/man3/siginterrupt.3
@@ -9,7 +9,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 2023-07-20 "Linux man-pages 6.05.01"
+.TH siginterrupt 3 2024-05-02 "Linux man-pages (unreleased)"
.SH NAME
siginterrupt \- allow signals to interrupt system calls
.SH LIBRARY
@@ -18,15 +18,15 @@ Standard C library
.SH SYNOPSIS
.nf
.B #include <signal.h>
-.PP
+.P
.BI "[[deprecated]] int siginterrupt(int " sig ", int " flag );
.fi
-.PP
+.P
.RS -4
Feature Test Macro Requirements for glibc (see
.BR feature_test_macros (7)):
.RE
-.PP
+.P
.BR siginterrupt ():
.nf
_XOPEN_SOURCE >= 500
@@ -43,12 +43,12 @@ If the \fIflag\fP
argument is false (0), then system calls will be restarted if interrupted
by the specified signal \fIsig\fP.
This is the default behavior in Linux.
-.PP
+.P
If the \fIflag\fP argument is true (1) and no data has been transferred,
then a system call interrupted by the signal \fIsig\fP will return \-1
and \fIerrno\fP will be set to
.BR EINTR .
-.PP
+.P
If the \fIflag\fP argument is true (1) and data transfer has started,
then the system call will be interrupted and will return the actual
amount of data transferred.
@@ -84,7 +84,6 @@ T} Thread safety T{
MT-Unsafe const:sigintr
T}
.TE
-.sp 1
.SH STANDARDS
POSIX.1-2008.
.SH HISTORY