Add "Lint with -lrt." to SYNOPSIS.

This commit is contained in:
Michael Kerrisk 2007-08-02 16:48:31 +00:00
parent 24b31b7bab
commit 1b2d3fca90
7 changed files with 14 additions and 0 deletions

View File

@ -29,6 +29,8 @@ mq_close \- close a message queue descriptor
.sp
.BI "mqd_t mq_close(mqd_t " mqdes );
.fi
.sp
Link with \fI\-lrt\fP.
.SH DESCRIPTION
.BR mq_close ()
closes the message queue descriptor

View File

@ -31,6 +31,8 @@ mq_getattr, mq_setattr \- get/set message queue attributes
.BI "mqd_t mq_setattr(mqd_t " mqdes ", struct mq_attr *" newattr ","
.BI " struct mq_attr *" oldattr );
.fi
.sp
Link with \fI\-lrt\fP.
.SH DESCRIPTION
.BR mq_getattr ()
and

View File

@ -29,6 +29,8 @@ mq_notify \- register for notification when a message is available
.sp
.BI "mqd_t mq_notify(mqd_t " mqdes ", const struct sigevent *" notification );
.fi
.sp
Link with \fI\-lrt\fP.
.SH DESCRIPTION
.BR mq_notify ()
allows the calling process to register or unregister for delivery of

View File

@ -31,6 +31,8 @@ mq_open \- open a message queue
.BI "mqd_t mq_open(const char *" name ", int " oflag ", mode_t " mode ,
.BI " struct mq_attr *" attr );
.fi
.sp
Link with \fI\-lrt\fP.
.SH DESCRIPTION
.BR mq_open ()
creates a new POSIX message queue or opens an existing queue.

View File

@ -38,6 +38,8 @@ mq_receive, mq_timedreceive \- receive a message from a message queue
.BI " size_t " msg_len ", unsigned *" msg_prio ,
.BI " const struct timespec *" abs_timeout );
.fi
.sp
Link with \fI\-lrt\fP.
.SH DESCRIPTION
.BR mq_receive ()
removes the oldest message with the highest priority from

View File

@ -38,6 +38,8 @@ mq_send, mq_timedsend \- send a message to a message queue
.BI " size_t " msg_len ", unsigned " msg_prio ,
.BI " const struct timespec *" abs_timeout );
.fi
.sp
Link with \fI\-lrt\fP.
.SH DESCRIPTION
.BR mq_send ()
adds the message pointed to by

View File

@ -29,6 +29,8 @@ mq_unlink \- remove a message queue
.sp
.BI "mqd_t mq_unlink(const char *" name );
.fi
.sp
Link with \fI\-lrt\fP.
.SH DESCRIPTION
.BR mq_unlink ()
removes the specified message queue