2 * Internal include file, do not use directly.
3 * Written by Ullrich von Bassewitz. Based on code by Groepaz.
13 /*****************************************************************************/
15 /*****************************************************************************/
20 int fd; /* File descriptor for directory */
21 unsigned off; /* Current byte offset in directory */
22 char name[16+1]; /* Name passed to opendir */
27 /*****************************************************************************/
29 /*****************************************************************************/
33 unsigned char __fastcall__ _dirread (DIR* dir, void* buf, unsigned char count);
34 /* Read characters from the directory into the supplied buffer. Makes sure,
35 * errno is set in case of a short read. Return true if the read was
36 * successful and false otherwise.
39 unsigned char __fastcall__ _dirread1 (DIR* dir, void* buf);
40 /* Read one byte from the directory into the supplied buffer. Makes sure,
41 * errno is set in case of a short read. Return true if the read was
42 * successful and false otherwise.