diff --git a/man2/mq_getsetattr.2 b/man2/mq_getsetattr.2 index 8151298a3..3afe342e3 100644 --- a/man2/mq_getsetattr.2 +++ b/man2/mq_getsetattr.2 @@ -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 .B #include .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 diff --git a/man3/mq_close.3 b/man3/mq_close.3 index 1a543751a..f33fdbc3f 100644 --- a/man3/mq_close.3 +++ b/man3/mq_close.3 @@ -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 .sp -.BI "mqd_t mq_close(mqd_t " mqdes ); +.BI "int mq_close(mqd_t " mqdes ); .fi .sp Link with \fI\-lrt\fP. diff --git a/man3/mq_getattr.3 b/man3/mq_getattr.3 index e9402e664..7f1ce90b9 100644 --- a/man3/mq_getattr.3 +++ b/man3/mq_getattr.3 @@ -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 .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 diff --git a/man3/mq_notify.3 b/man3/mq_notify.3 index 32d729e4e..fba2d8f57 100644 --- a/man3/mq_notify.3 +++ b/man3/mq_notify.3 @@ -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 .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. diff --git a/man3/mq_send.3 b/man3/mq_send.3 index 276f05e55..7165b4574 100644 --- a/man3/mq_send.3 +++ b/man3/mq_send.3 @@ -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 .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 .B #include .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 diff --git a/man3/mq_unlink.3 b/man3/mq_unlink.3 index 174c4bdc0..d99ecef85 100644 --- a/man3/mq_unlink.3 +++ b/man3/mq_unlink.3 @@ -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 .sp -.BI "mqd_t mq_unlink(const char *" name ); +.BI "int mq_unlink(const char *" name ); .fi .sp Link with \fI\-lrt\fP.