Skip to contentSkip to conversation

mq_send(3) copypaste error

DISCUSSION Peter Stuge 2 participants 2 messages Aug 30, 2010 – Aug 31, 2010 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

Hello, both mq_send(3) and mq_receive(3) in 3.25 read as follows:

--8<--
ERRORS
EAGAIN The queue was empty, and the O_NONBLOCK flag was set for the
message queue description referred to by mqdes.
-->8--

This is only accurate for mq_receive(). For mq_send() I think

s/empty/full/

would be in place. Thanks!

//Peter
--
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

Hello Peter,

Quoted 8 lines · Peter Stuge

Hello, both mq_send(3) and mq_receive(3) in 3.25 read as follows:

--8<--
ERRORS
      EAGAIN The queue was empty, and the O_NONBLOCK flag  was  set  for  the message queue description referred to by mqdes. -->8--

Quoted 5 lines

This is only accurate for mq_receive(). For mq_send() I think

s/empty/full/

would be in place. Thanks!

Agreed.

Fixed for man-pages-3.26.

Thanks,

Michael

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