1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-23 17:34:00 +03:00
systemd-stable/man/path-documents.c

10 lines
158 B
C
Raw Normal View History

2020-03-23 22:36:41 +03:00
#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);
}