~ubuntu-branches/ubuntu/saucy/manpages/saucy

« back to all changes in this revision

Viewing changes to man3/mq_send.3

  • Committer: Bazaar Package Importer
  • Author(s): Benjamin Drung
  • Date: 2010-11-17 16:35:58 UTC
  • mfrom: (1.1.45 upstream) (2.2.8 sid)
  • Revision ID: james.westby@ubuntu.com-20101117163558-9h3ho5jumqm3rdmd
Tags: 3.27-1ubuntu1
* Merge from Debian unstable; remaining changes:
  - ptrace.2, prctl.2: document Ubuntu-specific PTRACE_ATTACH,
    PR_SET_PTRACER behavior.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
.\" Formatted or processed versions of this manual, if unaccompanied by
24
24
.\" the source, must acknowledge the copyright and authors of this work.
25
25
.\"
26
 
.TH MQ_SEND 3 2010-08-31 "Linux" "Linux Programmer's Manual"
 
26
.TH MQ_SEND 3 2010-09-20 "Linux" "Linux Programmer's Manual"
27
27
.SH NAME
28
28
mq_send, mq_timedsend \- send a message to a message queue
29
29
.SH SYNOPSIS
33
33
.BI "int mq_send(mqd_t " mqdes ", const char *" msg_ptr ,
34
34
.BI "              size_t " msg_len ", unsigned " msg_prio );
35
35
.sp
36
 
.B #define _XOPEN_SOURCE 600
37
36
.B #include <time.h>
38
37
.B #include <mqueue.h>
39
38
.sp
43
42
.fi
44
43
.sp
45
44
Link with \fI\-lrt\fP.
 
45
.sp
 
46
.ad l
 
47
.in -4n
 
48
Feature Test Macro Requirements for glibc (see
 
49
.BR feature_test_macros (7)):
 
50
.in
 
51
.sp
 
52
.BR mq_timedsend ():
 
53
.RS 4
 
54
_XOPEN_SOURCE\ >=\ 600 || _POSIX_C_SOURCE\ >=\ 200112L
 
55
.RE
 
56
.ad
46
57
.SH DESCRIPTION
47
58
.BR mq_send ()
48
59
adds the message pointed to by
166
177
.BR mq_overview (7),
167
178
.BR time (7)
168
179
.SH COLOPHON
169
 
This page is part of release 3.26 of the Linux
 
180
This page is part of release 3.27 of the Linux
170
181
.I man-pages
171
182
project.
172
183
A description of the project,