/haiku/src/bin/ |
H A D | diskimage.cpp | 12 #include <sys/stat.h> 79 // stat() the file to verify that it's a regular file 80 struct stat st; 83 fprintf(stderr, "Error: Failed to stat() \"%s\": %s\n", fileName, 144 // the parameter must be a file name -- stat() it 145 struct stat st; 148 fprintf(stderr, "Error: Failed to stat() \"%s\": %s\n", fileNameOrID, 165 // get file path and stat it, same for the device path
|
H A D | fdinfo.cpp | 153 struct stat stat; local 154 if (::stat(argv[2], &stat) < 0) { 159 device = stat.st_dev; 160 node = stat.st_ino;
|
H A D | mount.c | 11 #include <sys/stat.h> 39 struct stat mountStat; 84 if (stat(mountPoint, &mountStat) < 0) {
|
H A D | rmattr.cpp | 49 stat_attr(const char* /*attribute*/, struct stat* stat) argument 51 memset(stat, 0, sizeof(struct stat)); 52 stat->st_mode = S_IFREG;
|
H A D | rmindex.cpp | 131 stat_index(const char* /*index*/, struct stat* stat) argument 133 memset(stat, 0, sizeof(struct stat)); 134 stat->st_mode = S_IFREG;
|
/haiku/src/bin/network/ftpd/ |
H A D | logwtmp.c | 44 #include <sys/stat.h> 76 struct stat buf;
|
H A D | md5hl.c | 13 #include <sys/stat.h> 54 struct stat stbuf;
|
/haiku/src/bin/network/mount_nfs/ |
H A D | mount_nfs.cpp | 3 #include <sys/stat.h> 54 struct stat st; 55 if (stat(argv[2],&st)<B_NO_ERROR)
|
/haiku/src/bin/network/telnetd/ |
H A D | defs.h | 61 #include <sys/stat.h>
|
/haiku/src/bin/package/ |
H A D | command_extract.cpp | 14 #include <sys/stat.h> 458 struct stat st;
|
/haiku/src/bin/pcmcia-cs/ |
H A D | cardctl.c | 48 #include <sys/stat.h> 50 #include <sys/stat.h>
|
H A D | dump_cis.c | 45 #include <sys/stat.h>
|
H A D | dump_cisreg.c | 45 #include <sys/stat.h>
|
/haiku/src/bin/pkgman/ |
H A D | command_resolve_dependencies.cpp | 14 #include <sys/stat.h> 155 struct stat st; 156 if (stat(path, &st) != 0) 157 DIE(errno, "failed to stat() \"%s\"", path);
|
/haiku/src/bin/unzip/ |
H A D | beos.c | 39 #include <sys/stat.h> 590 if (stat(buildpath, &G.statbuf)) { /* path doesn't exist */ 738 if (rootlen > 0 && (stat(tmproot, &G.statbuf) ||
|
H A D | fileio.c | 127 "error: %s: stat() says does not exist, but fopen() found anyway\n"; 245 /* Borland 5.0's stat() barfs if the filename has no extension and the 250 /* file doesn't exist, so create a dummy file to keep stat() from 262 Trace((stderr, "open_outfile: stat(%s) returns 0: file exists\n", 267 struct stat tmpstat; 1838 Trace((stderr, "check_for_newer: doing stat(%s)\n", FnFilter1(filename))); 1841 "check_for_newer: stat(%s) returns %d: file does not exist\n", 1859 Trace((stderr, "check_for_newer: stat(%s) returns 0: file exists\n", 2425 # undef stat macro 2433 struct stat * [all...] |
H A D | globals.h | 256 struct stat statbuf; /* used by main, mapname, check_for_newer */ 273 int dne; /* true if stat() says file doesn't exist */
|
H A D | unzpriv.h | 164 /* stat() bug for Borland, VAX C RTL, and Atari ST MiNT on TOS 272 # include <stat.h> 297 # include <sys/stat.h> /* POSIX 1003.1 system; see beos/ for */ 337 # include <sys/stat.h> 389 # include <sys/stat.h> 440 # include <sys/stat.h> 475 # include <sys/stat.h> 530 # include <sys/stat.h> 538 extern int stat(), unlink(), jsys(), fcntl(); 579 # include <stat 1119 # define stat macro [all...] |
/haiku/src/build/libbe/storage/ |
H A D | Entry.cpp | 349 // just stat the beast 350 struct stat st; 365 /*! \brief Fills in a stat structure for the entry. The information is copied into 366 the \c stat structure pointed to by \a result. 368 \b NOTE: The BStatable object does not cache the stat structure; every time you 369 call GetStat(), fresh stat information is retrieved. 371 \param result pointer to a pre-allocated structure into which the stat information will be copied 377 BEntry::GetStat(struct stat *result) const 381 return _kern_read_stat(fDirFd, fName, false, result, sizeof(struct stat)); 494 struct stat s [all...] |
H A D | File.cpp | 459 struct stat statData;
|
/haiku/src/build/libroot/ |
H A D | LocalFD.h | 46 struct stat st;
|
H A D | NodeRef.h | 8 #include <sys/stat.h>
22 NodeRef(const struct stat &st)
|
H A D | find_directory.cpp | 14 #include <sys/stat.h> 41 struct stat st; 51 if (stat(buffer, &st) < 0) { 90 struct stat st; 91 if (createIt && stat(path, &st) < 0)
|
H A D | fs_attr_haiku.cpp | 30 #include <sys/stat.h> 266 struct stat st; 268 sizeof(struct stat));
|
H A D | fs_darwin.cpp | 14 #include <sys/stat.h> 27 struct stat dirst; 29 // failed to grab stat information, fstat() sets errno 61 struct stat st; 62 if (stat(path, &st) < 0) { 63 // failed to get stat information on path, stat() sets errno 216 struct stat st; 218 // failed to get the stat info for fd, fstat() sets errno 242 fstatat(int fd, const char *path, struct stat *s [all...] |