mirror of https://github.com/trapexit/mergerfs.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
316 B
23 lines
316 B
#pragma once
|
|
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
|
|
namespace fs
|
|
{
|
|
struct dirent64
|
|
{
|
|
public:
|
|
uint64_t d_ino;
|
|
int64_t d_off;
|
|
uint16_t d_reclen;
|
|
uint8_t d_type;
|
|
char d_name[];
|
|
|
|
public:
|
|
int d_namelen() const
|
|
{
|
|
return (d_reclen - offsetof(dirent64,d_name));
|
|
}
|
|
};
|
|
}
|