Lines Matching defs:path
21 choose_file(const char *path)
27 DIR *dir = opendir(path);
57 // build full path
58 strlcpy(name, path, sizeof(name));
79 char path[PATH_MAX] = {'\0'};
80 const char *file = path;
92 } else if (find_directory(B_SYSTEM_DATA_DIRECTORY, -1, false, path,
93 sizeof(path)) == B_OK) {
94 strlcat(path, "/fortunes", sizeof(path));