Lines Matching defs:np
501 char ch, *cp, *np, *targ, *vect[1], buf[BUFSIZ], path[PATH_MAX];
607 np = path;
609 np = targ;
610 exists = stat(np, &stb) == 0;
619 (void)chmod(np, mode);
623 if (mkdir(np, mode | S_IRWXU) < 0)
626 vect[0] = np;
630 if (utimes(np, tv) < 0)
632 np, strerror(errno));
635 (void)chmod(np, mode);
640 if ((ofd = open(np, O_WRONLY|O_CREAT, mode)) < 0) {
641 bad: run_err("%s: %s", np, strerror(errno));
685 run_err("%s: truncate: %s", np, strerror(errno));
692 np, strerror(errno));
697 np, strerror(errno));
703 if (utimes(np, tv) < 0) {
705 np, strerror(errno));
711 run_err("%s: %s", np, strerror(wrerrno));