Lines Matching refs:stat
37 #include <sys/stat.h>
72 struct stat osbuf, sbuf, oshdbuf, shdbuf;
87 if (stat(passwd, &osbuf) < 0) {
88 (void)fprintf(stderr,"vipw: can't stat passwd file.\n");
95 if (stat(ptemp, &sbuf) < 0) {
97 "vipw: can't stat ptemp file, %s unchanged\n",
135 if (stat(shadow, &oshdbuf) < 0) {
137 "vipw: can't stat shadow file.\n");
143 if (stat(stemp, &shdbuf) < 0) {
145 "vipw: can't stat stmp file.\n");
263 struct stat sbuf, statbuf;
271 if (stat(temp, &sbuf) < 0) {
273 "vipw: can't stat %s file, %s unchanged\n",
356 if (stat(ldir, &statbuf) < 0) {