Skip to contentSkip to conversation

mq_receive.3, mq_send.3: clarification regarding reasons behind EBADF

PATCH In review Eugene Syromyatnikov 2 participants 2 messages Nov 9, 2016 – Nov 10, 2016 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 2/3 mq_receive.3, mq_send.3: clarification regarding reasons behind EBADF

---
 man3/mq_receive.3 |    2 +-
 man3/mq_send.3    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
man3/mq_receive.3 +1 -1
index 57a1f58..f204b98 100644
@@ -129,7 +129,7 @@ flag was set for the message queue description referred to by
 .B EBADF
 The file descriptor specified in
 .I mqdes
-was invalid.
+was invalid or unavailable for reading.
 .TP
 .B EINTR
 The call was interrupted by a signal handler; see
man3/mq_send.3 +1 -1
index 9d30092..4277c36 100644
@@ -134,7 +134,7 @@ flag was set for the message queue description referred to by
 .B EBADF
 The file descriptor specified in
 .I mqdes
-was invalid.
+was invalid or unavailable for writing.
 .TP
 .B EINTR
 The call was interrupted by a signal handler; see
Signature · 6 lines
1.7.10.4

--
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
#1 lore raw

Hi Eugene,

Quoted 4 lines · Eugene Syromyatnikov
---
 man3/mq_receive.3 |    2 +-
 man3/mq_send.3    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Thanks. Applied.

Cheers,

Michael

Quoted 27 lines
man3/mq_receive.3 +1 -1
index 57a1f58..f204b98 100644
@@ -129,7 +129,7 @@ flag was set for the message queue description referred to by
 .B EBADF
 The file descriptor specified in
 .I mqdes
-was invalid.
+was invalid or unavailable for reading.
 .TP
 .B EINTR
 The call was interrupted by a signal handler; see
man3/mq_send.3 +1 -1
index 9d30092..4277c36 100644
@@ -134,7 +134,7 @@ flag was set for the message queue description referred to by
 .B EBADF
 The file descriptor specified in
 .I mqdes
-was invalid.
+was invalid or unavailable for writing.
 .TP
 .B EINTR
 The call was interrupted by a signal handler; see
Signature · 7 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
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