mirror of
https://github.com/python/cpython.git
synced 2024-11-30 18:51:15 +01:00
23 lines
357 B
C
23 lines
357 B
C
/*
|
|
* "Dir.h" for the Macintosh.
|
|
* Public domain by Guido van Rossum, CWI, Amsterdam (July 1987).
|
|
*/
|
|
|
|
#define MAXNAMLEN 31
|
|
#define MAXPATH 256
|
|
|
|
#define DIR struct _dir
|
|
|
|
struct _dir {
|
|
long dirid;
|
|
int nextfile;
|
|
};
|
|
|
|
struct dirent {
|
|
char d_name[MAXPATH];
|
|
};
|
|
|
|
extern DIR *opendir(char *);
|
|
extern struct dirent *readdir(DIR *);
|
|
extern void closedir(DIR *);
|