Searched refs:search_and_fopen (Results 1 - 2 of 2) sorted by relevance

/systemd/src/basic/
H A Dfileio.h59 int search_and_fopen(const char *path, const char *mode, const char *root, const char **search, FILE **_f);
/systemd/src/test/
H A Dtest-util.c1278 char name[] = "/tmp/test-search_and_fopen.XXXXXX";
1287 r = search_and_fopen(basename(name), "r", NULL, dirs, &f);
1291 r = search_and_fopen(name, "r", NULL, dirs, &f);
1295 r = search_and_fopen(basename(name), "r", "/", dirs, &f);
1299 r = search_and_fopen("/a/file/which/does/not/exist/i/guess", "r", NULL, dirs, &f);
1301 r = search_and_fopen("afilewhichdoesnotexistiguess", "r", NULL, dirs, &f);
1307 r = search_and_fopen(basename(name), "r", NULL, dirs, &f);
1314 char name[] = "/tmp/test-search_and_fopen.XXXXXX";

Completed in 813 milliseconds