Lines Matching defs:path
187 file_size(const char *path)
192 if (stat(path, &sb) == -1)
200 static char path[PATH_MAX];
205 (void)snprintf(path, sizeof(path), "info.%d", bounds);
206 dumpsize += file_size(path);
207 (void)snprintf(path, sizeof(path), "vmcore.%d", bounds);
208 dumpsize += file_size(path);
209 (void)snprintf(path, sizeof(path), "vmcore.%d.gz", bounds);
210 dumpsize += file_size(path);
211 (void)snprintf(path, sizeof(path), "textdump.tar.%d", bounds);
212 dumpsize += file_size(path);
213 (void)snprintf(path, sizeof(path), "textdump.tar.%d.gz", bounds);
214 dumpsize += file_size(path);
222 static char path[PATH_MAX];
224 (void)snprintf(path, sizeof(path), "info.%d", bounds);
225 (void)unlink(path);
226 (void)snprintf(path, sizeof(path), "vmcore.%d", bounds);
227 (void)unlink(path);
228 (void)snprintf(path, sizeof(path), "vmcore.%d.gz", bounds);
229 (void)unlink(path);
230 (void)snprintf(path, sizeof(path), "textdump.tar.%d", bounds);
231 (void)unlink(path);
232 (void)snprintf(path, sizeof(path), "textdump.tar.%d.gz", bounds);
233 (void)unlink(path);