summaryrefslogtreecommitdiffstats
path: root/man/path-documents.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* man: add licenses to all files that lack oneLuca Boccassi2021-10-011-0/+2
| | | | | | | Documentation is licensed under LGPL-2.1-or-later. Scripts are MIT to facilitate reuse. Examples are relicensed to CC0-1.0 to maximise copy-and-paste for users, with permission from authors.
* man: Don't leak memory in path-documents exampleThomas Mühlbacher2021-08-311-1/+9
| | | | | | | The `sd_path_lookup(3)` man page states that the returned string shall be `free(3)`'d but then doesn't do so in the example code. Also add basic error handling as well.
* man: add sd_path_lookup(3)Zbigniew Jędrzejewski-Szmek2020-03-271-0/+9