Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/librt Update RETURN VALUE to match reality and POSIX
details: https://anonhg.NetBSD.org/src/rev/62372cdd410f
branches: trunk
changeset: 341695:62372cdd410f
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Wed Nov 18 13:19:52 2015 +0000
description:
Update RETURN VALUE to match reality and POSIX
diffstat:
lib/librt/mq_receive.3 | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 4020bdbdd52d -r 62372cdd410f lib/librt/mq_receive.3
--- a/lib/librt/mq_receive.3 Wed Nov 18 13:00:46 2015 +0000
+++ b/lib/librt/mq_receive.3 Wed Nov 18 13:19:52 2015 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: mq_receive.3,v 1.4 2012/03/15 19:04:47 njoly Exp $
+.\" $NetBSD: mq_receive.3,v 1.5 2015/11/18 13:19:52 pgoyette Exp $
.\"
.\" Copyright (c) 2001-2003 The Open Group, All Rights Reserved
.\"
@@ -100,7 +100,8 @@
.Fn mq_receive
and
.Fn mq_timedreceive
-functions return a value of zero.
+functions return the length of the selected message in bytes, and the
+message is removed from the queue.
Otherwise, no message will be removed from the queue,
the functions return a value of
\-1, and set the global variable
Home |
Main Index |
Thread Index |
Old Index