fix getdent name length calculation

This commit is contained in:
Antonio SJ Musumeci 2020-03-12 14:42:08 -04:00
parent b5fae4b356
commit 698c4147fc
9 changed files with 101 additions and 87 deletions

View file

@ -0,0 +1,12 @@
#pragma once
#include <stdint.h>
struct linux_dirent64
{
uint64_t d_ino;
int64_t d_off;
uint16_t d_reclen;
uint8_t d_type;
char d_name[];
};