mergerfs/libfuse/include/fs_dirent64.hpp
trapexit 46f85c0f6d
Some checks are pending
CodeQL / Analyze (push) Waiting to run
mkdocs / deploy (push) Waiting to run
Misc fixes, mostly for FreeBSD (#1536)
2025-09-28 23:17:51 -05:00

23 lines
300 B
C++

#pragma once
#include <cstddef>
#include <cstdint>
namespace fs
{
struct dirent64
{
public:
uint64_t ino;
int64_t off;
uint16_t reclen;
uint8_t type;
char name[];
public:
int namelen() const
{
return (reclen - offsetof(dirent64,name));
}
};
}