repo.or.cz
/
python
/
dscho.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Improved some error messages for command line processing.
[python/dscho.git]
/
Mac
/
Compat
/
dirent.h
blob
44cfc5a97253f2548641de5ddf89f0c46665a461
1
/*
2
* "Dir.h" for the Macintosh.
3
* Public domain by Guido van Rossum, CWI, Amsterdam (July 1987).
4
*/
5
6
#define MAXNAMLEN 31
7
#define MAXPATH 256
8
9
#define DIR struct _dir
10
11
struct
_dir
{
12
long
dirid
;
13
int
nextfile
;
14
};
15
16
struct
dirent
{
17
char
d_name
[
MAXPATH
];
18
};
19
20
extern
DIR
*
opendir
(
char
*);
21
extern
struct
dirent
*
readdir
(
DIR
*);
22
extern
void
closedir
(
DIR
*);