1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00
systemd-stable/man/path-documents.c
Zbigniew Jędrzejewski-Szmek b35ed5530b man: add sd_path_lookup(3)
2020-03-27 20:12:44 +01:00

10 lines
158 B
C

#include <stdio.h>
#include <sd-path.h>
int main(void) {
char *t;
sd_path_lookup(SD_PATH_USER_DOCUMENTS, NULL, &t);
printf("~/Documents: %s\n", t);
}