summaryrefslogtreecommitdiff
path: root/man/sd_is_fifo.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-07 17:51:09 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-07 17:51:09 +0100
commitfa57130d35dd8fd8c3f2f2126dd7fc6930a08e35 (patch)
tree139a8db9922a2d484e2a6b8e78760481bd06783c /man/sd_is_fifo.xml
parenta27e222b58824c08fa0da18106cf28a02b6c5e23 (diff)
man: add docs for sd_is_special() and some man page symlinks
Diffstat (limited to 'man/sd_is_fifo.xml')
-rw-r--r--man/sd_is_fifo.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/man/sd_is_fifo.xml b/man/sd_is_fifo.xml
index 2bc860c373..4d9cd79600 100644
--- a/man/sd_is_fifo.xml
+++ b/man/sd_is_fifo.xml
@@ -48,6 +48,7 @@
<refname>sd_is_socket_inet</refname>
<refname>sd_is_socket_unix</refname>
<refname>sd_is_mq</refname>
+ <refname>sd_is_special</refname>
<refpurpose>Check the type of a file descriptor</refpurpose>
</refnamediv>
@@ -93,6 +94,12 @@
<paramdef>const char *<parameter>path</parameter></paramdef>
</funcprototype>
+ <funcprototype>
+ <funcdef>int <function>sd_is_special</function></funcdef>
+ <paramdef>int <parameter>fd</parameter></paramdef>
+ <paramdef>const char *<parameter>path</parameter></paramdef>
+ </funcprototype>
+
</funcsynopsis>
</refsynopsisdiv>
@@ -153,6 +160,16 @@
<parameter>path</parameter> parameter is not
<constant>NULL</constant>, it is checked whether the
message queue is bound to the specified name.</para>
+
+ <para><function>sd_is_special()</function> may be
+ called to check whether the specified file descriptor
+ refers to a special file. If the
+ <parameter>path</parameter> parameter is not
+ <constant>NULL</constant>, it is checked whether file
+ descriptor is bound to the specified file
+ name. Special files in this context are character
+ device nodes and files in <filename>/proc</filename>
+ or <filename>/sys</filename>.</para>
</refsect1>
<refsect1>