mirror of
https://github.com/cc65/cc65.git
synced 2024-12-27 00:29:31 +00:00
Added a header file for the internal representation of DIR.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5665 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
f6209f1344
commit
6952703d69
31
libsrc/cbm/dir.h
Normal file
31
libsrc/cbm/dir.h
Normal file
@ -0,0 +1,31 @@
|
||||
/*
|
||||
* Internal include file, do not use directly.
|
||||
* Written by Ullrich von Bassewitz. Based on code by Groepaz.
|
||||
*/
|
||||
|
||||
|
||||
|
||||
#ifndef _DIR_H
|
||||
#define _DIR_H
|
||||
|
||||
|
||||
|
||||
/*****************************************************************************/
|
||||
/* Data */
|
||||
/*****************************************************************************/
|
||||
|
||||
|
||||
|
||||
struct DIR {
|
||||
int fd; /* File descriptor for directory */
|
||||
unsigned offs; /* Current byte offset in directory */
|
||||
char name[16+1]; /* Name passed to opendir */
|
||||
};
|
||||
|
||||
|
||||
|
||||
/* End of dir.h */
|
||||
#endif
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user