Searched refs:stat (Results 101 - 125 of 509) sorted by path

1234567891011>>

/haiku/src/bin/
H A Ddiskimage.cpp12 #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 Dfdinfo.cpp153 struct stat stat; local
154 if (::stat(argv[2], &stat) < 0) {
159 device = stat.st_dev;
160 node = stat.st_ino;
H A Dmount.c11 #include <sys/stat.h>
39 struct stat mountStat;
84 if (stat(mountPoint, &mountStat) < 0) {
H A Drmattr.cpp49 stat_attr(const char* /*attribute*/, struct stat* stat) argument
51 memset(stat, 0, sizeof(struct stat));
52 stat->st_mode = S_IFREG;
H A Drmindex.cpp131 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 Dlogwtmp.c44 #include <sys/stat.h>
76 struct stat buf;
H A Dmd5hl.c13 #include <sys/stat.h>
54 struct stat stbuf;
/haiku/src/bin/network/mount_nfs/
H A Dmount_nfs.cpp3 #include <sys/stat.h>
54 struct stat st;
55 if (stat(argv[2],&st)<B_NO_ERROR)
/haiku/src/bin/network/telnetd/
H A Ddefs.h61 #include <sys/stat.h>
/haiku/src/bin/package/
H A Dcommand_extract.cpp14 #include <sys/stat.h>
458 struct stat st;
/haiku/src/bin/pcmcia-cs/
H A Dcardctl.c48 #include <sys/stat.h>
50 #include <sys/stat.h>
H A Ddump_cis.c45 #include <sys/stat.h>
H A Ddump_cisreg.c45 #include <sys/stat.h>
/haiku/src/bin/pkgman/
H A Dcommand_resolve_dependencies.cpp14 #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 Dbeos.c39 #include <sys/stat.h>
590 if (stat(buildpath, &G.statbuf)) { /* path doesn't exist */
738 if (rootlen > 0 && (stat(tmproot, &G.statbuf) ||
H A Dfileio.c127 "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 Dglobals.h256 struct stat statbuf; /* used by main, mapname, check_for_newer */
273 int dne; /* true if stat() says file doesn't exist */
H A Dunzpriv.h164 /* 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 DEntry.cpp349 // 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 DFile.cpp459 struct stat statData;
/haiku/src/build/libroot/
H A DLocalFD.h46 struct stat st;
H A DNodeRef.h8 #include <sys/stat.h>
22 NodeRef(const struct stat &st)
H A Dfind_directory.cpp14 #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 Dfs_attr_haiku.cpp30 #include <sys/stat.h>
266 struct stat st;
268 sizeof(struct stat));
H A Dfs_darwin.cpp14 #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...]

Completed in 374 milliseconds

1234567891011>>