.\" the source, must acknowledge the copyright and authors of this work.
.\" %%%LICENSE_END
.\"
-.TH MQ_SEND 3 2010-09-20 "Linux" "Linux Programmer's Manual"
+.TH MQ_SEND 3 2014-06-03 "Linux" "Linux Programmer's Manual"
.SH NAME
mq_send, mq_timedsend \- send a message to a message queue
.SH SYNOPSIS
.B #include <mqueue.h>
.sp
.BI "int mq_send(mqd_t " mqdes ", const char *" msg_ptr ,
-.BI " size_t " msg_len ", unsigned " msg_prio );
+.BI " size_t " msg_len ", unsigned int " msg_prio );
.sp
.B #include <time.h>
.B #include <mqueue.h>
.sp
.BI "int mq_timedsend(mqd_t " mqdes ", const char *" msg_ptr ,
-.BI " size_t " msg_len ", unsigned " msg_prio ,
+.BI " size_t " msg_len ", unsigned int " msg_prio ,
.BI " const struct timespec *" abs_timeout );
.fi
.sp
.TP
.B ETIMEDOUT
The call timed out before a message could be transferred.
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR mq_send ()
+and
+.BR mq_timedsend ()
+functions are thread-safe.
.SH CONFORMING TO
POSIX.1-2001.
.SH NOTES
.BR mq_unlink (3),
.BR mq_overview (7),
.BR time (7)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.