repo.or.cz
/
AROS.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Put the library close function back into miami.library's function table.
[AROS.git]
/
test
/
clib
/
opendir.c
blob
0e92191232c8fc39b79af951d363dda3f332c341
1
#include <sys/types.h>
2
#include <dirent.h>
3
#include <stdio.h>
4
#include
"test.h"
5
6
DIR
*
dir
;
7
8
int
main
()
9
{
10
dir
=
opendir
(
"RAM:T"
);
11
TEST
((
dir
));
12
closedir
(
dir
);
13
return
OK
;
14
}
15
16
void
cleanup
()
17
{
18
if
(
dir
)
19
closedir
(
dir
);
20
}