chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
volume_id: provide libvolume_id.a file
[elogind.git]
/
klibc
/
include
/
sys
/
dirent.h
1
/*
2
* sys/dirent.h
3
*/
4
5
#ifndef _SYS_DIRENT_H
6
#define _SYS_DIRENT_H
7
8
#include <stdint.h>
9
10
/* The kernel calls this struct dirent64 */
11
struct dirent {
12
uint64_t d_ino;
13
int64_t d_off;
14
unsigned short d_reclen;
15
unsigned char d_type;
16
char d_name[256];
17
};
18
19
__extern int getdents(unsigned int, struct dirent *, unsigned int);
20
21
#endif /* _SYS_DIRENT_H */