mappath
mappath(getmapmode(), path_buf);
mappath(getmapmode(), ept->path); /* evaluate variables */
mappath(getmapmode(), ept->ainfo.local);
mappath(getmapmode(), ept->path); /* evaluate variables */
mappath(getmapmode(), ept->ainfo.local);
mappath(2, ept->path);
mappath(2, ept->ainfo.local);
mappath(2, path);
if (mappath(1, entry.ainfo.local)) {
if (mappath(1, entry.path)) {
mappath(0, temp);
extern int mappath(int flag, char *path);
char *mappath;
if (asprintf(&mappath, "%s/%s", datadir, cpcgen_intel_mapfile) == -1) {
if (stat(mappath, &st) == 0) {
mappath);
free(mappath);
char *mappath, *last;
if (asprintf(&mappath, "%s/%s", datadir, cpcgen_intel_mapfile) == -1) {
if ((map = fopen(mappath, "r")) == NULL) {
err(EXIT_FAILURE, "failed to open data mapfile %s", mappath);
"%u in %s", lineno, mappath);
err(EXIT_FAILURE, "failed to read %s", mappath);
err(EXIT_FAILURE, "failed to close %s", mappath);
free(mappath);