tmp_dir
char tmp_dir[MAXPATHLEN + 1];
(void) snprintf(tmp_dir, sizeof (tmp_dir), "%s%s",
if (mkdir(tmp_dir, 0) == SYSERR) {
tmp_dir, dirname);
lip->li_tmpmp_parent = strdup(tmp_dir);
struct tmp_dir dbuf, *dp;
sizeof (struct tmp_dir), off, UIO_SYSSPACE, &count, cr);
struct tmp_dir dbuf, *dp;
sizeof (struct tmp_dir), off, UIO_SYSSPACE, &count, cr);