.\" the source, must acknowledge the copyright and authors of this work.
.\" %%%LICENSE_END
.\"
-.TH MQ_OVERVIEW 7 2016-10-08 "Linux" "Linux Programmer's Manual"
+.TH MQ_OVERVIEW 7 2017-09-15 "Linux" "Linux Programmer's Manual"
.SH NAME
mq_overview \- overview of POSIX message queues
.SH DESCRIPTION
.PP
A message queue descriptor is a reference to an
.I "open message queue description"
-(cf.
+(see
.BR open (2)).
After a
.BR fork (2),
but the details are likely to differ.)
This filesystem can be mounted (by the superuser) using the following
commands:
+.PP
.in +4n
-.nf
-
+.EX
.RB "#" " mkdir /dev/mqueue"
.RB "#" " mount \-t mqueue none /dev/mqueue"
-
-.fi
+.EE
.in
+.PP
The sticky bit is automatically enabled on the mount directory.
.PP
After the filesystem has been mounted, the message queues on the system
.PP
The contents of each file in the directory consist of a single line
containing information about the queue:
+.PP
.in +4n
-.nf
-
+.EX
.RB "$" " cat /dev/mqueue/mymq"
QSIZE:129 NOTIFY:2 SIGNO:0 NOTIFY_PID:8260
-
-.fi
+.EE
.in
+.PP
These fields are as follows:
.TP
.B QSIZE