Lines Matching defs:filepath
37 char filepath[PATH_MAX + 2]; /* NUL and '/' */
39 snprintf(filepath, sizeof(filepath), "%s/%s", path, filename);
41 fd = fopen(filepath, "w");
43 syslog(LOG_ERR, "Err: open %s: %s\n", __func__, filepath);
61 char filepath[PATH_MAX + 2]; /* NUL and '/' */
63 snprintf(filepath, sizeof(filepath), "%s/%s", path, filename);
65 fd = fopen(filepath, "r");
67 syslog(LOG_ERR, "Err: open %s: %s\n", __func__, filepath);
80 char filepath[PATH_MAX + 2]; /* NUL and '/' */
82 snprintf(filepath, sizeof(filepath), "%s/%s", path, filename);
84 fd = fopen(filepath, "r");
86 syslog(LOG_ERR, "Err: open %s: %s\n", __func__, filepath);