Home | History | Annotate | Download | only in dropbear

Lines Matching defs:np

835 	char ch, *cp, *np, *targ, *why, *vect[1], buf[2048];
952 np = namebuf;
954 np = targ;
956 exists = stat(np, &stb) == 0;
967 (void) chmod(np, mode);
972 if (mkdir(np, mode | S_IRWXU) < 0)
975 vect[0] = xstrdup(np);
991 if ((ofd = open(np, O_WRONLY|O_CREAT, mode)) < 0) {
992 bad: run_err("%s: %s", np, strerror(errno));
1053 run_err("%s: truncate: %s", np, strerror(errno));
1061 if (chmod(np, omode)) {
1064 np, strerror(errno));
1072 if (chmod(np, omode & ~mask)) {
1075 np, strerror(errno));
1086 if (utimes(np, tv) < 0) {
1088 np, strerror(errno));
1094 run_err("%s: %s", np, strerror(wrerrno));