Lines Matching refs:fullpath
38 char fullpath[PATH_MAX];
64 if (lstat(fullpath, &statbuffer) < 0) {
65 error_function("Can not read stat for file ", fullpath);
75 && (strcmp(fullpath, "/dev/cpuctl/cpu.shares") != 0)
77 *shares_pointer += read_shares_file(fullpath);
84 * of fullpath to append new files names
87 path_pointer = fullpath + strlen(fullpath);
91 if ((dp = opendir(fullpath)) == NULL) { /* Error in opening directory */
92 error_function("Can't open ", fullpath);
105 strcpy(path_pointer, dir_pointer->d_name); /* append name to fullpath */
118 error_function("Could not close dir ", fullpath);