| 1 |
<?xml version='1.0'?> <!--*-nxml-*--> |
| 2 |
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" |
| 3 |
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> |
| 4 |
<!-- SPDX-License-Identifier: LGPL-2.1-or-later --> |
| 5 |
|
| 6 |
<refentry id="sd-path" |
| 7 |
xmlns:xi="http://www.w3.org/2001/XInclude"> |
| 8 |
|
| 9 |
<refentryinfo> |
| 10 |
<title>sd-path</title> |
| 11 |
<productname>systemd</productname> |
| 12 |
</refentryinfo> |
| 13 |
|
| 14 |
<refmeta> |
| 15 |
<refentrytitle>sd-path</refentrytitle> |
| 16 |
<manvolnum>3</manvolnum> |
| 17 |
</refmeta> |
| 18 |
|
| 19 |
<refnamediv> |
| 20 |
<refname>sd-path</refname> |
| 21 |
<refpurpose>APIs to query file system paths</refpurpose> |
| 22 |
</refnamediv> |
| 23 |
|
| 24 |
<refsynopsisdiv> |
| 25 |
<funcsynopsis> |
| 26 |
<funcsynopsisinfo>#include <systemd/sd-path.h></funcsynopsisinfo> |
| 27 |
</funcsynopsis> |
| 28 |
|
| 29 |
<cmdsynopsis> |
| 30 |
<command>pkg-config --cflags --libs libsystemd</command> |
| 31 |
</cmdsynopsis> |
| 32 |
</refsynopsisdiv> |
| 33 |
|
| 34 |
<refsect1> |
| 35 |
<title>Description</title> |
| 36 |
|
| 37 |
<para><filename>sd-path.h</filename> is part of |
| 38 |
<citerefentry><refentrytitle>libsystemd</refentrytitle><manvolnum>3</manvolnum></citerefentry> and |
| 39 |
provides APIs to query file system paths. This functionality is similar to the command-line |
| 40 |
functionality provided by |
| 41 |
<citerefentry><refentrytitle>systemd-path</refentrytitle><manvolnum>1</manvolnum></citerefentry>. |
| 42 |
</para> |
| 43 |
|
| 44 |
<para>See |
| 45 |
<citerefentry><refentrytitle>sd_path_lookup</refentrytitle><manvolnum>3</manvolnum></citerefentry> |
| 46 |
for information about the functions available.</para> |
| 47 |
</refsect1> |
| 48 |
|
| 49 |
<xi:include href="libsystemd-pkgconfig.xml" /> |
| 50 |
|
| 51 |
<refsect1> |
| 52 |
<title>See Also</title> |
| 53 |
<para><simplelist type="inline"> |
| 54 |
<member><citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry></member> |
| 55 |
<member><citerefentry><refentrytitle>systemd-path</refentrytitle><manvolnum>1</manvolnum></citerefentry></member> |
| 56 |
<member><citerefentry project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry></member> |
| 57 |
</simplelist></para> |
| 58 |
</refsect1> |
| 59 |
</refentry> |