summaryrefslogtreecommitdiffstats
path: root/man/path-documents.c
blob: a6c1f9371ae22d9318963cec2eb6e04fbadc1fa1 (plain)
1
2
3
4
5
6
7
8
9
#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);
}