mirror of
https://github.com/systemd/systemd.git
synced 2024-10-30 23:21:22 +03:00
10 lines
158 B
C
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);
|
||
|
}
|