summaryrefslogtreecommitdiff
path: root/src/dirent/__dirent.h
blob: 828a5f178917a97426d4fa35784494d894d25ccc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
struct __dirstream
{
	off_t tell;
	int fd;
	int buf_pos;
	int buf_end;
	volatile int lock[1];
	/* Any changes to this struct must preserve the property:
	 * offsetof(struct __dirent, buf) % sizeof(off_t) == 0 */
	char buf[2048];
};