pn_addslash
if (must_be_directory && (error = pn_addslash(pnp)) != 0)
extern int pn_addslash(struct pathname *);