MQ_UNLINK


HOME

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/Tk_IsEmbedded.3.html
Tk_IsEmbedded(3) - retrieve information from Tk's local data
Tk_WindowId and the other names listed above are all macros that return fields from Tks local data structure for tkwin. None of these macros requires any intera

manpages/ltrace.1.html
ltrace(1) - A library call tracer - Linux manual page.......
ltrace is a program that simply runs the specified command until it exits. It intercepts and records the dynamic library calls which are called by the executed

manpages/systemd-run.1.html
systemd-run(1) Run programs in transient scope or service un
systemd-run may be used to create and start a transient .service or a .scope unit and run the specified COMMAND in it. If a command is run as transient service

manpages/Tcl_StringCaseMatch.3.html
Tcl_StringCaseMatch(3) - test whether a string matches a pat
This utility procedure determines whether a string matches a given pattern. If it does, then Tcl_StringMatch returns 1. Otherwise Tcl_StringMatch returns 0. The

manpages/perl5161delta.1.html
perl5161delta(1) what is new for perl v5.16.1 (Man Page)....
This document describes differences between the 5.16.0 release and the 5.16.1 release. If you are upgrading from an earlier release such as 5.14.0, first read p

manpages/setitimer.2.html
setitimer(2) - get or set value of an interval timer........
The system provides each process with three interval timers, each decrementing in a distinct time domain. When any timer expires, a signal is sent to the proces

manpages/XDestroyImage.3.html
XDestroyImage(3) - image utilities - Linux manual page......
The XInitImage function initializes the internal image manipulation routines of an image structure, based on the values of the various structure members. All fi

manpages/XFontProp.3.html
XFontProp(3) - load or unload fonts and font metric structur
The XLoadFont function loads the specified font and returns its associated font ID. If the font name is not in the Host Portable Character Encoding, the result

manpages/ncursesw5-config.1.html
ncursesw5-config(1) - helper script for ncurses libraries...
ncursesw5-config.1 - This is a shell script which simplifies configuring applications against a particular set of ncurses libraries. OPTIONS --prefix echos the

manpages/ggz.6.html
ggz(6) - GGZ Gaming Zone core client selector (Man Page)....
The GGZ Gaming Zone allows people to play many games online using so-called GGZ core clients which are chat clients with integrated game launchers. The ggz tool

manpages/Tk_IdToWindow.3.html
Tk_IdToWindow(3) - Find Tk's window information for an X win
Given an X window identifier and the X display it corresponds to, this procedure returns the corresponding Tk_Window handle. If there is no Tk_Window correspond

manpages/smbstatus.1.html
smbstatus(1) - report on current Samba connections (ManPage)
This tool is part of the samba(7) suite. smbstatus is a very simple program to list the current Samba connections. OPTIONS -P|--profile If samba has been compil





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