Manual Pages for Linux CentOS command on man mq_unlink
MyWebUniversity

Manual Pages for Linux CentOS command on man mq_unlink

MQUNLINK(3) Linux Programmer's Manual MQUNLINK(3)

NAME

mqunlink - remove a message queue SYNOPSIS

#include int mqunlink(const char *name);

Link with -lrt. DESCRIPTION mqunlink() removes the specified message queue name. The message queue name is removed immediately. The queue itself is destroyed once any other processes that have the queue open close their descriptors referring to the queue. RETURN VALUE

On success mqunlink() returns 0; on error, -1 is returned, with errno set to indicate the error. ERRORS EACCES The caller does not have permission to unlink this message queue. ENAMETOOLONG name was too long. ENOENT There is no message queue with the given name. ATTRIBUTES For an explanation of the terms used in this section, see attributes(7). ┌────────────┬───────────────┬─────────┐ │Interface │ Attribute │ Value │ ├────────────┼───────────────┼─────────┤

│mqunlink() │ Thread safety │ MT-Safe │ └────────────┴───────────────┴─────────┘ CONFORMING TO

POSIX.1-2001. SEE ALSO mqclose(3), mqgetattr(3), mqnotify(3), mqopen(3), mqreceive(3), mqsend(3), mqoverview(7) COLOPHON

This page is part of release 3.53 of the Linux man-pages project. A description of the project, and information about reporting bugs, can

be found at http://www.kernel.org/doc/man-pages/.

Linux 2010-08-29 MQUNLINK(3)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™