summaryrefslogtreecommitdiff
path: root/man/sd_is_fifo.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-05-17 19:37:03 +0200
committerLennart Poettering <lennart@poettering.net>2011-05-17 19:37:03 +0200
commit916abb21d0a6653e0187b91591e492026886b0a4 (patch)
tree8bce3407f16ec391c9e707dace2077024501d609 /man/sd_is_fifo.xml
parentfff2e5b58bab7a5ffbb7593742d462197b06728c (diff)
socket: add POSIX mqueue support
Diffstat (limited to 'man/sd_is_fifo.xml')
-rw-r--r--man/sd_is_fifo.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/man/sd_is_fifo.xml b/man/sd_is_fifo.xml
index 0e3f3d038f..251f45ce0f 100644
--- a/man/sd_is_fifo.xml
+++ b/man/sd_is_fifo.xml
@@ -47,6 +47,7 @@
<refname>sd_is_socket</refname>
<refname>sd_is_socket_inet</refname>
<refname>sd_is_socket_unix</refname>
+ <refname>sd_is_mq</refname>
<refpurpose>Check the type of a file descriptor</refpurpose>
</refnamediv>
@@ -86,6 +87,12 @@
<paramdef>size_t <parameter>length</parameter></paramdef>
</funcprototype>
+ <funcprototype>
+ <funcdef>int <function>sd_is_mq</function></funcdef>
+ <paramdef>int <parameter>fd</parameter></paramdef>
+ <paramdef>const char *<parameter>path</parameter></paramdef>
+ </funcprototype>
+
</funcsynopsis>
</refsynopsisdiv>
@@ -136,6 +143,13 @@
address, including the initial 0 byte and set
<parameter>path</parameter> to the initial 0 byte of
the socket address.</para>
+
+ <para><function>sd_is_mq()</function> may be called to
+ check whether the specified file descriptor refers to
+ a POSIX message queue. If the
+ <parameter>path</parameter> parameter is not NULL, it
+ is checked whether the message queue is bound to the
+ specified name.</para>
</refsect1>
<refsect1>