MQ_UNLINK



MQ_UNLINK

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
ERRORS
ATTRIBUTES
CONFORMING TO
SEE ALSO
COLOPHON

NAME

mq_unlink − remove a message queue

SYNOPSIS

#include <mqueue.h>

int mq_unlink(const char *name);

Link with −lrt.

DESCRIPTION

mq_unlink() 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 mq_unlink() 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

Multithreading (see pthreads(7))
The mq_unlink() function is thread-safe.

CONFORMING TO

POSIX.1-2001.

SEE ALSO

mq_close(3), mq_getattr(3), mq_notify(3), mq_open(3), mq_receive(3), mq_send(3), mq_overview(7)

COLOPHON

This page is part of release 3.69 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at http://www.kernel.org/doc/man−pages/.




More Linux Commands

manpages/snapper-zypp-plugin.8.html
snapper-zypp-plugin(8) Snapper plugin for libzypp (ManPage)
With the snapper-zypp-plugin, snapper can create snapshots whenever libzypp, and thus e.g. zypper and YaST, installs, updates or removes packages. FILES /etc/sn

manpages/XFree.3.html
XFree(3) - free client data (Library - Linux man page)......
The XFree function is a general-purpose Xlib routine that frees the specified data. You must use it to free any objects that were allocated by Xlib, unless an a

manpages/pnminterp.1.html
pnminterp(1) - replaced by pamstretch - Linux manual page...
This program is part of Netpbm(1) pnminterp was replaced in Netpbm 9.21 (December 2001) by pamstretch(1) pamstretch is backward compatible with pnminterp, but a

manpages/gtty.2.html
gtty(2) - unimplemented system calls - Linux manual page....
These system calls are not implemented in the Linux kernel. RETURN VALUE These system calls always return -1 and set errno to ENOSYS. NOTES Note that ftime(3),

manpages/format.3menu.html
format(3menu) - set and get menu sizes - Linux manual page
format.3menu - The function set_menu_format sets the maximum display size of the given menu. If this size is too small to display all menu items, the menu will

manpages/XML::DOM::DOMImplementation.3pm.html
XML::DOM::DOMImplementation(3pm) - Information about XML::DO
The DOMImplementation interface provides a number of methods for performing operations that are independent of any particular instance of the document object mo

manpages/perl585delta.1.html
perl585delta(1) - what is new for perl v5.8.5 (Man Page)....
This document describes differences between the 5.8.4 release and the 5.8.5 release. Incompatible Changes There are no changes incompatible with 5.8.4. Core Enh

manpages/gnutls_certificate_set_verify_function.3.html
gnutls_certificate_set_verify_function(3) - API function....
This function sets a callback to be called when peers certificate has been received in order to verify it on receipt rather than doing after the handshake is co

manpages/pkill.1.html
pkill(1) - look up or signal processes based on name and oth
pgrep looks through the currently running processes and lists the process IDs which match the selection criteria to stdout. All the criteria have to match. For

manpages/Net::protoent.3pm.html
Net::protoent(3pm) - by-name interface to Perl's built-in ge
This modules default exports override the core getprotoent(), getprotobyname(), and getnetbyport() functions, replacing them with versions that return Net::prot

manpages/soapsuds.1.html
soapsuds(1) - Mono's Remoting Proxy Generator (Man Page)....
soapsuds is a tool for generating WSDL documents and client proxies for remoting services. A WSDL document describes the methods that a service provides togethe

manpages/XGetIconSizes.3.html
XGetIconSizes(3) - allocate icon size structure and set or r
The XAllocIconSize function allocates and returns a pointer to a XIconSize structure. Note that all fields in the XIconSize structure are initially set to zero.





We can't live, work or learn in freedom unless the software we use is free.