public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* mq_send(3) copypaste error
@ 2010-08-30 19:34 Peter Stuge
       [not found] ` <20100830193421.28262.qmail-Y+HMSxxDrH8@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Stuge @ 2010-08-30 19:34 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: mq_send(3) copypaste error
       [not found] ` <20100830193421.28262.qmail-Y+HMSxxDrH8@public.gmane.org>
@ 2010-08-31  4:24   ` Michael Kerrisk
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk @ 2010-08-31  4:24 UTC (permalink / raw)
  To: Peter Stuge; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

Hello Peter,

On Mon, Aug 30, 2010 at 9:34 PM, Peter Stuge <peter-Y+HMSxxDrH8@public.gmane.org> wrote:
> 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!

Agreed.

Fixed for man-pages-3.26.

Thanks,

Michael

-- 
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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-31  4:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-30 19:34 mq_send(3) copypaste error Peter Stuge
     [not found] ` <20100830193421.28262.qmail-Y+HMSxxDrH8@public.gmane.org>
2010-08-31  4:24   ` Michael Kerrisk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox