Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qstorageinfo_unix.cpp File Reference

(2a210e25b6c19231e9b98c14bfdf4d1376d43e97)

#include "qstorageinfo_p.h"
#include <QtCore/qfileinfo.h>
#include <QtCore/qtextstream.h>
#include <QtCore/private/qcore_unix_p.h>
#include <QtCore/private/qlocale_tools_p.h>
#include <errno.h>
#include <sys/stat.h>
#include <sys/statvfs.h>
Include dependency graph for qstorageinfo_unix.cpp:

Go to the source code of this file.

Classes

class  QStorageIterator

Macros

#define QT_STATFSBUF   struct statvfs
#define QT_STATFS   ::statvfs
#define _PATH_MOUNTED   "/etc/mnttab"

Functions

static QString retrieveLabel (const QByteArray &device)

Macro Definition Documentation

◆ _PATH_MOUNTED

#define _PATH_MOUNTED   "/etc/mnttab"

Definition at line 71 of file qstorageinfo_unix.cpp.

◆ QT_STATFS

#define QT_STATFS   ::statvfs

Definition at line 63 of file qstorageinfo_unix.cpp.

◆ QT_STATFSBUF

#define QT_STATFSBUF   struct statvfs

Definition at line 62 of file qstorageinfo_unix.cpp.

Function Documentation

◆ retrieveLabel()

QString retrieveLabel ( const QByteArray & device)
inlinestatic

Definition at line 370 of file qstorageinfo_unix.cpp.