Searched refs:fstat (Results 26 - 50 of 75) sorted by relevance

123

/haiku/src/servers/syslog_daemon/
H A Dsyslog_output.cpp52 if (fstat(sLog, &stat) == 0) {
/haiku/src/add-ons/kernel/drivers/disk/nvme/libnvme/
H A Dnvme_common.c173 if (fstat(fd, &st) != 0)
/haiku/src/system/boot/loader/
H A Dload_driver_settings.cpp33 if (fstat(fd, &stat) < 0)
H A Dpartitions.cpp220 if (fstat(fFD, &stat) == B_OK)
231 if (fstat(fFD, &stat) == B_OK)
H A Dpackage_support.cpp342 if (fstat(fd.Get(), &st) != 0)
/haiku/src/tools/mbrtool/
H A Dmbrtool.cpp195 int result = fstat(imageFileHandle, &stat);
/haiku/src/add-ons/kernel/file_systems/websearchfs/
H A Dduckduckgo_request.cpp92 if (fstat(fd, &st) < 0) {
/haiku/src/build/libroot/
H A Dfs_darwin.cpp28 if (fstat(fd, &dirst) < 0) {
29 // failed to grab stat information, fstat() sets errno
217 if (fstat(fd, &st)) {
218 // failed to get the stat info for fd, fstat() sets errno
H A Dfs_attr_generic.cpp390 // This is a real (i.e. system) file descriptor -- fstat() it and
395 if (fstat(fd, &st) < 0)
578 if (strcmp(attribute, "BEOS:TYPE") == 0 && fstat(fd, &st) == 0
H A Dfs_descriptors.cpp143 if (fstat(fd, st) < 0)
/haiku/src/tools/fs_shell/
H A Dunistd.cpp219 if (fstat(fd, &status) == 0) {
270 if (fstat(fd, &status) == 0) {
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dunix_io.c359 return fstat(DEV_FD(dev), buf);
/haiku/src/add-ons/kernel/file_systems/netfs/server/
H A DNodeHandle.cpp44 if (fstat(fd, st) < 0)
/haiku/headers/build/
H A DBeOSBuildCompatibility.h131 # define fstat(fd, st) _haiku_build_fstat(fd, st) macro
/haiku/src/tools/remote_disk_server/
H A Dremote_disk_server.cpp146 if (fstat(fImageFD, &st) < 0) {
/haiku/src/tests/add-ons/kernel/file_systems/random_file_actions/
H A Drandom_file_actions.cpp317 if (fstat(fd, &stat) != 0)
401 if (fstat(fd, &stat) != 0)
/haiku/src/tests/system/network/
H A Dunix_dgram_test.cpp625 status = fstat(fd, &statbuf);
627 REPORT_ERROR("fstat() failed: %s\n", strerror(errno));
632 status = fstat(fd1, &statbuf1);
634 REPORT_ERROR("fstat() failed: %s\n", strerror(errno));
/haiku/src/add-ons/kernel/file_systems/udf/
H A DVolume.cpp74 error = fstat(device, &stat) < 0 ? B_ERROR : B_OK;
/haiku/src/tests/add-ons/kernel/partitioning_systems/
H A DPartitioningSystemsTest.cpp58 if (fstat(fd, &stat) < 0) {
/haiku/src/tools/
H A Delf2aout.c304 if ((efd = open(*av, O_RDONLY)) < 0 || fstat(efd, &sb) < 0)
/haiku/src/system/libroot/posix/unistd/
H A Dconf.cpp547 ret = fstat(fd, &st);
/haiku/src/system/boot/arch/x86/
H A Darch_cpu.cpp389 if (fstat(fd, &stat) < 0) {
/haiku/src/kits/package/hpkg/
H A DPackageWriterImpl.cpp538 if (fstat(fd, &st) != 0)
1080 if (fstat(fd, &st) < 0) {
1081 fListener->PrintError("Failed to fstat() file \"%s\": %s\n", pathBuffer,
1429 if (fstat(fd, &st) < 0) {
1430 fListener->PrintError("Failed to fstat() file \"%s\": %s\n", pathBuffer,
/haiku/src/tests/system/kernel/file_corruption/fs/
H A DVolume.cpp90 if (fstat(fFD, &st) < 0)
/haiku/src/kits/debug/
H A DImage.cpp266 if (fstat(fFD, &st) < 0)

Completed in 238 milliseconds

123