mq_getsetattr.2, mq_close.3, mq_getattr.3, mq_notify.3, mq_send.3, mq_unlink.3: Fix return type in SYNOPSIS (s/mqd_t/int/)

Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
This commit is contained in:
Lnac Huard 2010-08-29 07:28:13 +02:00 committed by Michael Kerrisk
parent 5f14486cd6
commit c9e83f0678
6 changed files with 14 additions and 14 deletions

View File

@ -23,7 +23,7 @@
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
.\"
.TH MQ_GETSETATTR 2 2007-06-01 "Linux" "Linux Programmer's Manual"
.TH MQ_GETSETATTR 2 2010-08-29 "Linux" "Linux Programmer's Manual"
.SH NAME
mq_getsetattr \- get/set message queue attributes
.SH SYNOPSIS
@ -31,7 +31,7 @@ mq_getsetattr \- get/set message queue attributes
.B #include <sys/types.h>
.B #include <mqueue.h>
.sp
.BI "mqd_t mq_getsetattr(mqd_t " mqdes ", struct mq_attr *" newattr ","
.BI "int mq_getsetattr(mqd_t " mqdes ", struct mq_attr *" newattr ","
.BI " struct mq_attr *" oldattr );
.fi
.SH DESCRIPTION

View File

@ -23,14 +23,14 @@
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
.\"
.TH MQ_CLOSE 3 2006-02-25 "Linux" "Linux Programmer's Manual"
.TH MQ_CLOSE 3 2010-08-29 "Linux" "Linux Programmer's Manual"
.SH NAME
mq_close \- close a message queue descriptor
.SH SYNOPSIS
.nf
.B #include <mqueue.h>
.sp
.BI "mqd_t mq_close(mqd_t " mqdes );
.BI "int mq_close(mqd_t " mqdes );
.fi
.sp
Link with \fI\-lrt\fP.

View File

@ -23,16 +23,16 @@
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
.\"
.TH MQ_GETATTR 3 2008-09-29 "Linux" "Linux Programmer's Manual"
.TH MQ_GETATTR 3 2010-08-29 "Linux" "Linux Programmer's Manual"
.SH NAME
mq_getattr, mq_setattr \- get/set message queue attributes
.SH SYNOPSIS
.nf
.B #include <mqueue.h>
.sp
.BI "mqd_t mq_getattr(mqd_t " mqdes ", struct mq_attr *" attr );
.BI "int mq_getattr(mqd_t " mqdes ", struct mq_attr *" attr );
.BI "mqd_t mq_setattr(mqd_t " mqdes ", struct mq_attr *" newattr ","
.BI "int mq_setattr(mqd_t " mqdes ", struct mq_attr *" newattr ","
.BI " struct mq_attr *" oldattr );
.fi
.sp

View File

@ -23,14 +23,14 @@
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
.\"
.TH MQ_NOTIFY 3 2009-09-15 "Linux" "Linux Programmer's Manual"
.TH MQ_NOTIFY 3 2010-08-29 "Linux" "Linux Programmer's Manual"
.SH NAME
mq_notify \- register for notification when a message is available
.SH SYNOPSIS
.nf
.B #include <mqueue.h>
.sp
.BI "mqd_t mq_notify(mqd_t " mqdes ", const struct sigevent *" notification );
.BI "int mq_notify(mqd_t " mqdes ", const struct sigevent *" notification );
.fi
.sp
Link with \fI\-lrt\fP.

View File

@ -23,21 +23,21 @@
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
.\"
.TH MQ_SEND 3 2010-02-25 "Linux" "Linux Programmer's Manual"
.TH MQ_SEND 3 2010-08-29 "Linux" "Linux Programmer's Manual"
.SH NAME
mq_send, mq_timedsend \- send a message to a message queue
.SH SYNOPSIS
.nf
.B #include <mqueue.h>
.sp
.BI "mqd_t mq_send(mqd_t " mqdes ", const char *" msg_ptr ,
.BI "int mq_send(mqd_t " mqdes ", const char *" msg_ptr ,
.BI " size_t " msg_len ", unsigned " msg_prio );
.sp
.B #define _XOPEN_SOURCE 600
.B #include <time.h>
.B #include <mqueue.h>
.sp
.BI "mqd_t mq_timedsend(mqd_t " mqdes ", const char *" msg_ptr ,
.BI "int mq_timedsend(mqd_t " mqdes ", const char *" msg_ptr ,
.BI " size_t " msg_len ", unsigned " msg_prio ,
.BI " const struct timespec *" abs_timeout );
.fi

View File

@ -23,14 +23,14 @@
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
.\"
.TH MQ_UNLINK 3 2006-02-25 "Linux" "Linux Programmer's Manual"
.TH MQ_UNLINK 3 2010-08-29 "Linux" "Linux Programmer's Manual"
.SH NAME
mq_unlink \- remove a message queue
.SH SYNOPSIS
.nf
.B #include <mqueue.h>
.sp
.BI "mqd_t mq_unlink(const char *" name );
.BI "int mq_unlink(const char *" name );
.fi
.sp
Link with \fI\-lrt\fP.