2012-05-30 19:37:57 +00:00
|
|
|
;
|
|
|
|
; Internal include file, do not use directly.
|
|
|
|
; Written by Ullrich von Bassewitz. Based on C code by Groepaz.
|
|
|
|
;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
; Data structures
|
|
|
|
|
|
|
|
.struct DIR
|
|
|
|
fd .word
|
2012-06-03 15:11:32 +00:00
|
|
|
off .word
|
2012-05-30 19:37:57 +00:00
|
|
|
name .byte 16+1
|
|
|
|
.endstruct
|
|
|
|
|
|
|
|
|
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
; C callable functions
|
|
|
|
|
|
|
|
.global _opendir
|
|
|
|
.global _closedir
|
|
|
|
.global _readdir
|
2012-06-03 15:11:32 +00:00
|
|
|
.global _seekdir
|
|
|
|
.global _telldir
|
|
|
|
.global _rewinddir
|
2012-06-03 13:59:31 +00:00
|
|
|
.global __dirread
|
|
|
|
.global __dirread1
|
2012-05-30 19:37:57 +00:00
|
|
|
|
2012-06-03 13:59:31 +00:00
|
|
|
|