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
py-cvs-rel2_1 (Rev 1.2) merge
[python/dscho.git]
/
Mac
/
Compat
/
dirent.h
blob
7cfe40433e5dab42dd41e222dbf13c54ae3fc9bb
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
short
vrefnum
;
13
long
dirid
;
14
int
nextfile
;
15
};
16
17
struct
dirent
{
18
char
d_name
[
MAXPATH
];
19
};
20
21
extern
DIR
*
opendir
(
char
*);
22
extern
struct
dirent
*
readdir
(
DIR
*);
23
extern
void
closedir
(
DIR
*);