diff options
Diffstat (limited to 'upstream/debian-unstable/man3/mq_receive.3')
-rw-r--r-- | upstream/debian-unstable/man3/mq_receive.3 | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/upstream/debian-unstable/man3/mq_receive.3 b/upstream/debian-unstable/man3/mq_receive.3 index 40e99733..c3969b43 100644 --- a/upstream/debian-unstable/man3/mq_receive.3 +++ b/upstream/debian-unstable/man3/mq_receive.3 @@ -3,7 +3,7 @@ .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" -.TH mq_receive 3 2023-07-20 "Linux man-pages 6.05.01" +.TH mq_receive 3 2024-05-02 "Linux man-pages 6.8" .SH NAME mq_receive, mq_timedreceive \- receive a message from a message queue .SH LIBRARY @@ -12,25 +12,25 @@ Real-time library .SH SYNOPSIS .nf .B #include <mqueue.h> -.PP +.P .BI "ssize_t mq_receive(mqd_t " mqdes ", char " msg_ptr [. msg_len ], .BI " size_t " msg_len ", unsigned int *" msg_prio ); -.PP +.P .B #include <time.h> .B #include <mqueue.h> -.PP +.P .BI "ssize_t mq_timedreceive(mqd_t " mqdes ", \ char *restrict " msg_ptr [. msg_len ], .BI " size_t " msg_len ", unsigned int *restrict " msg_prio , .BI " const struct timespec *restrict " abs_timeout ); .fi -.PP +.P .ad l .RS -4 Feature Test Macro Requirements for glibc (see .BR feature_test_macros (7)): .RE -.PP +.P .BR mq_timedreceive (): .nf _POSIX_C_SOURCE >= 200112L @@ -54,7 +54,7 @@ If .I msg_prio is not NULL, then the buffer to which it points is used to return the priority associated with the received message. -.PP +.P If the queue is empty, then, by default, .BR mq_receive () blocks until a message becomes available, @@ -64,7 +64,7 @@ If the flag is enabled for the message queue description, then the call instead fails immediately with the error .BR EAGAIN . -.PP +.P .BR mq_timedreceive () behaves just like .BR mq_receive (), @@ -78,7 +78,7 @@ since the Epoch, 1970-01-01 00:00:00 +0000 (UTC), specified in a .BR timespec (3) structure. -.PP +.P If no message is available, and the timeout has already expired by the time of the call, .BR mq_timedreceive () @@ -141,7 +141,6 @@ T{ .BR mq_timedreceive () T} Thread safety MT-Safe .TE -.sp 1 .SH VERSIONS On Linux, .BR mq_timedreceive () |