mapout
(void) strncpy(mapout, cp, MAXPATHLEN - 1);
cp2 = mapout;
(void) printf("Nmap: (in) %s (out) %s\n", mapin, mapout);
(void) strlcpy(ip->mo, mapout, sizeof (ip->mo));
(void) strlcpy(mapout, op->mo, sizeof (mapout));
extern char mapout[MAXPATHLEN]; /* output map template */
char mapout[MAXPATHLEN];
mapout(as, addr, vaddr, writing);