| /src/external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/ |
| readlink.c | 37 struct stat statbuf; local 42 if (stat (path, &statbuf) >= 0)
|
| /src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/ |
| readlink.c | 37 struct stat statbuf; local 42 if (stat (path, &statbuf) >= 0)
|
| copy-file.c | 52 struct stat statbuf; local 59 if (src_fd < 0 || fstat (src_fd, &statbuf) < 0) 63 mode = statbuf.st_mode & 07777; 93 ut.actime = statbuf.st_atime; 94 ut.modtime = statbuf.st_mtime; 101 ut[0].tv_sec = statbuf.st_atime; ut[0].tv_usec = 0; 102 ut[1].tv_sec = statbuf.st_mtime; ut[1].tv_usec = 0; 109 chown (dest_filename, statbuf.st_uid, statbuf.st_gid);
|
| /src/external/gpl2/xcvs/dist/lib/ |
| readlink.c | 42 struct stat statbuf; local 47 if (stat (path, &statbuf) >= 0)
|
| /src/external/gpl3/gdb/dist/gnulib/import/ |
| readlink.c | 35 struct stat statbuf; local 40 if (stat (file, &statbuf) >= 0)
|
| open.c | 161 struct stat statbuf; local 162 if (stat (filename, &statbuf) == 0 && S_ISDIR (statbuf.st_mode)) 191 struct stat statbuf; local 193 if (fstat (fd, &statbuf) >= 0 && !S_ISDIR (statbuf.st_mode))
|
| fchdir.c | 131 struct stat statbuf; local 135 || (fstat (fd, &statbuf) == 0 && S_ISDIR (statbuf.st_mode)))
|
| /src/external/gpl3/gdb.old/dist/gnulib/import/ |
| readlink.c | 35 struct stat statbuf; local 40 if (stat (file, &statbuf) >= 0)
|
| open.c | 161 struct stat statbuf; local 162 if (stat (filename, &statbuf) == 0 && S_ISDIR (statbuf.st_mode)) 191 struct stat statbuf; local 193 if (fstat (fd, &statbuf) >= 0 && !S_ISDIR (statbuf.st_mode))
|
| fchdir.c | 131 struct stat statbuf; local 135 || (fstat (fd, &statbuf) == 0 && S_ISDIR (statbuf.st_mode)))
|
| /src/external/bsd/libbind/dist/bsd/ |
| writev.c | 25 struct stat statbuf; local 27 if (fstat(fd, &statbuf) < 0) 33 if (statbuf.st_mode & S_IFSOCK) {
|
| /src/external/bsd/ppp/dist/pppd/ |
| utils_utest.c | 17 struct stat statbuf; local 19 if (stat(path, &statbuf) < 0) 22 return statbuf.st_mode & S_IFMT;
|
| /src/external/gpl3/binutils/dist/gprofng/src/ |
| count.cc | 44 struct stat statbuf; local 58 if (stat (command, &statbuf) == -1) 65 if (stat (command, &statbuf) == -1)
|
| /src/external/gpl3/binutils.old/dist/gprofng/src/ |
| count.cc | 44 struct stat statbuf; local 58 if (stat (command, &statbuf) == -1) 65 if (stat (command, &statbuf) == -1)
|
| /src/distrib/utils/more/ |
| os.c | 261 struct stat statbuf; local 263 if (stat(filename, &statbuf) < 0) { 268 if ((statbuf.st_mode & S_IFMT) == S_IFDIR) {
|
| /src/tests/fs/lfs/ |
| util.c | 64 struct stat statbuf; local 70 if (rump_sys_stat(filename, &statbuf) < 0) 73 size = statbuf.st_size; 101 struct stat statbuf; local 104 if (rump_sys_stat(filename, &statbuf) < 0) { 108 if (size != statbuf.st_size) { 110 filename, size, (int)statbuf.st_size);
|
| t_orphan.c | 70 struct stat statbuf; local 111 rump_sys_fstat(fd, &statbuf); 112 fprintf(stderr, "Inode is => %d <=\n", (int)statbuf.st_ino); 115 fwrite(&statbuf.st_ino, sizeof(ino_t), 1, fp); 123 if (statbuf.st_size != FILE_SIZE) 125 if (statbuf.st_nlink <= 0) 127 if (statbuf.st_blocks <= 0)
|
| /src/usr.bin/tail/ |
| forward.c | 92 struct stat statbuf; local 244 stat(fname, &statbuf) != -1) { 245 if (statbuf.st_ino != sbp->st_ino || 246 statbuf.st_dev != sbp->st_dev || 247 statbuf.st_rdev != sbp->st_rdev || 248 statbuf.st_nlink == 0) { 254 *sbp = statbuf;
|
| /src/usr.sbin/mtree/ |
| verify.c | 195 struct stat statbuf; local 197 if (qflag && stat(path, &statbuf) == 0 && 198 S_ISDIR(statbuf.st_mode))
|
| /src/external/gpl2/mkhybrid/dist/ |
| eltorito.c | 59 struct stat statbuf; local 77 if (!stat_filter(bootpath, &statbuf)) 82 if (statbuf.st_size == 2048)
|
| /src/external/gpl2/xcvs/dist/src/ |
| error.c | 116 char statbuf[256]; local 130 buf = statbuf; 135 length = sizeof (statbuf); 137 buf = vasnprintf (statbuf, &length, message, args); 188 if (buf != statbuf) free (buf);
|
| /src/games/larn/ |
| diag.c | 183 struct stat statbuf; local 229 if (fstat(io_outfd, &statbuf) < 0) 232 lprint((long) statbuf.st_ino); /* inode # */
|
| /src/sbin/mount_umap/ |
| mount_umap.c | 103 struct stat statbuf; local 156 if (fstat(fileno(fp), &statbuf)) 158 if (statbuf.st_mode & S_IWGRP || statbuf.st_mode & S_IWOTH) { 159 strmode(statbuf.st_mode, buf); 163 if (statbuf.st_uid != ROOTUSER) 204 if (fstat(fileno(gfp), &statbuf)) 206 if (statbuf.st_mode & S_IWGRP || statbuf.st_mode & S_IWOTH) { 207 strmode(statbuf.st_mode, buf) [all...] |
| /src/crypto/external/bsd/heimdal/dist/lib/otp/ |
| otp_db.c | 57 struct stat statbuf; local 64 if (stat (OTP_DB_LOCK, &statbuf) == 0) { 65 if (time(NULL) - statbuf.st_mtime > OTP_DB_TIMEOUT)
|
| /src/external/cddl/osnet/dist/cmd/zinject/ |
| translate.c | 88 struct stat64 *statbuf) 108 if (stat64(fullpath, statbuf) != 0) { 149 object_from_path(const char *dataset, const char *path, struct stat64 *statbuf, 169 record->zi_object = statbuf->st_ino; 320 struct stat64 statbuf; local 365 if (parse_pathname(object, dataset, path, &statbuf) != 0) 374 if (object_from_path(dataset, path, &statbuf, record) != 0)
|