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 offs; /* Current byte offset in directory */
22 char name[16+1]; /* Name passed to opendir */
27 /*****************************************************************************/
29 /*****************************************************************************/
33 unsigned char __fastcall__ _dirskip (unsigned char count, struct DIR* dir);
34 /* Skip bytes from the directory and make sure, errno is set if this isn't
35 * possible. Return true if anything is ok and false otherwise. For
36 * simplicity we assume that read will never return less than count if there
37 * is no error and end-of-file is not reached.
38 * Note: count must not be more than 254.