Unix and Linux Discussions Tagged with queue |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
10,758 |
UNIX and Linux Applications |
|
|
|
2 |
1,430 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
1,972 |
UNIX for Beginners Questions & Answers |
|
|
|
0 |
1,492 |
Shell Programming and Scripting |
|
|
|
6 |
9,342 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
4,448 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
2,845 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
9,613 |
IP Networking |
|
|
|
2 |
7,846 |
AIX |
|
|
|
4 |
35,993 |
Ubuntu |
|
|
|
0 |
3,496 |
Complex Event Processing RSS News |
|
|
|
2 |
10,260 |
Programming |
|
|
|
1 |
4,772 |
Linux |
|
|
|
0 |
3,173 |
Solaris BigAdmin RSS |
|
|
|
1 |
3,584 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
9,938 |
OS X (Apple) |
|
|
|
0 |
3,304 |
Shell Programming and Scripting |
|
|
|
1 |
11,111 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
7,268 |
HP-UX |
|
|
|
0 |
4,649 |
Linux |
|
|
|
0 |
3,147 |
AIX |
|
|
|
0 |
12,812 |
Shell Programming and Scripting |
|
|
|
1 |
6,062 |
AIX |
|
|
|
3 |
8,477 |
AIX |
|
|
|
2 |
7,129 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
7,360 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
7,737 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,391 |
IP Networking |
|
|
|
3 |
10,018 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,099 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
3 |
8,175 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,684 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,528 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
8,071 |
UNIX for Dummies Questions & Answers |
mq_close(2) System Calls Manual mq_close(2)
NAME
mq_close - close a message queue descriptor
SYNOPSIS
DESCRIPTION
The system call removes the association between the message queue descriptor, mqdes, and a message queue. Use of this message queue
descriptor by the process, after a successful return from this and until this descriptor is returned by a subsequent will result in the
failure of message queue system calls, with set to
If the process has a registered notification request with the message queue associated with this mqdes, the registration is canceled and
the queue becomes available for another process to register a notification request.
If the message queue has been unlinked and mqdes is the only existing open descriptor for the queue, the queue is destroyed.
To use this function, link in the realtime library by specifying on the compiler or linker command line.
RETURN VALUE
returns the following values:
Successful completion.
Failure.
is set to indicate the error.
ERRORS
If fails, is set to one of the following values:
mqdes is not a valid message queue descriptor.
is not supported by the implementation.
SEE ALSO
mq_open(2), mq_unlink(2), mq_notify(2).
STANDARDS CONFORMANCE
mq_close(2)