Skip to contentSkip to conversation

truncate.2: remove redundant EINTR description

PATCH In review Seonghun Lim 2 participants 2 messages Aug 31, 2011 – Sep 8, 2011 1 message not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 truncate.2: remove redundant EINTR description

man-pages version: latest git repository
why: There are two EINTR items in the errno list.
The first one is the older one, so was removed.
Then the newer one (which was added in the commit
3ade1aa9) was moved upward according to the
alphabetical order.

man2/truncate.2 +0 -0
@@ -130,7 +130,11 @@ The argument

is larger than the maximum file size. (XSI)
.TP
.B EINTR
-A signal was caught during execution.
+While blocked waiting to complete,
+the call was interrupted by a signal handler; see
+.BR fcntl (2)
+and
+.BR signal (7).
.TP
.B EINVAL
The argument
@@ -140,13 +144,6 @@ is negative or larger than the maximum file size. .B EIO
An I/O error occurred updating the inode.
.TP
-.B EINTR
-While blocked waiting to complete,
-the call was interrupted by a signal handler; see
-.BR fcntl (2)
-and
-.BR signal (7).
-.TP
.B EISDIR
The named file is a directory.
.TP

And the batch is finished.
Thanks for your maintaining of the invaluable documents.
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

2011/8/31 Seonghun Lim <[email protected]>:

Quoted 6 lines

man-pages version: latest git repository
why: There are two EINTR items in the errno list. The first one is the older one, so was removed. Then the newer one (which was added in the commit 3ade1aa9) was moved upward according to the alphabetical order.

Thanks Seonghun. Applied for 3.33.

Cheers,

Michael

Quoted 35 lines
man2/truncate.2 +0 -0
@@ -130,7 +130,11 @@ The argument
 is larger than the maximum file size. (XSI)

.TP
.B EINTR

man2/truncate.2 +5 -1
-A signal was caught during execution.
+While blocked waiting to complete,
+the call was interrupted by a signal handler; see
+.BR fcntl (2)
+and
+.BR signal (7).

.TP
.B EINVAL
The argument

man2/truncate.2 +0 -0
@@ -140,13 +144,6 @@ is negative or larger than the maximum file size.

.B EIO
An I/O error occurred updating the inode. .TP
-.B EINTR

man2/truncate.2 +0 -6
-While blocked waiting to complete,
-the call was interrupted by a signal handler; see
-.BR fcntl (2)
-and
-.BR signal (7).
-.TP

.B EISDIR
The named file is a directory.
.TP

And the batch is finished.
Thanks for your maintaining of the invaluable documents.

Signature · 7 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface"; http://man7.org/tlpi/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html