Lines Matching refs:pathname
83 const char *pathname, mode_t mode)
87 rval = creat(pathname, mode);
91 "creat(%s,%04o) failed", pathname, mode);
94 "Invalid creat(%s,%04o) return value %d", pathname,
182 const char *pathname, mode_t mode)
186 rval = mkdir(pathname, mode);
190 "mkdir(%s, %04o) failed", pathname, mode);
193 "Invalid mkdir(%s, %04o) return value %d", pathname,
201 const char *pathname)
205 rval = rmdir(pathname);
209 "rmdir(%s) failed", pathname);
212 "Invalid rmdir(%s) return value %d", pathname, rval);
238 const char *pathname, int oflags, ...)
256 rval = open(pathname, oflags, mode);
260 "open(%s,%d,%04o) failed", pathname, oflags, mode);
263 "Invalid open(%s,%d,%04o) return value %d", pathname,
424 const char *pathname)
428 rval = unlink(pathname);
432 "unlink(%s) failed", pathname);
435 "Invalid unlink(%s) return value %d", pathname, rval);
838 void (*cleanup_fn)(void), const char *pathname, mode_t mode)
842 rval = mkfifo(pathname, mode);
846 "mkfifo(%s, %04o) failed", pathname, mode);
849 "Invalid mkfifo(%s, %04o) return value %d", pathname,
1266 int safe_mknod(const char *file, const int lineno, const char *pathname,
1271 rval = mknod(pathname, mode, dev);