DiskUsage.cc File Reference

#include "DiskUsage.h"
#include "util/Exception.h"
#include <sys/stat.h>
#include <dirent.h>
#include <unistd.h>
#include <string>
#include <iostream>

Include dependency graph for DiskUsage.cc:


Defines

#define _FILE_OFFSET_BITS   64

Define Documentation

#define _FILE_OFFSET_BITS   64

This macro determines which file system interface shall be used, one replacing the other. `_FILE_OFFSET_BITS' allows the 64 bit interface to replace the old interface.

If `_FILE_OFFSET_BITS' is undefined, or if it is defined to the value `32', nothing changes. The 32 bit interface is used and types like `off_t' have a size of 32 bits on 32 bit systems.

On 32bit systems 'stat -> stat64' and 'lstat -> lstat64' transparently.