Added the POSIX functions opendir() and closedir().
git-svn-id: svn://svn.cc65.org/cc65/trunk@5666 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
27
libsrc/cbm/dir.inc
Normal file
27
libsrc/cbm/dir.inc
Normal file
@@ -0,0 +1,27 @@
|
||||
;
|
||||
; Internal include file, do not use directly.
|
||||
; Written by Ullrich von Bassewitz. Based on C code by Groepaz.
|
||||
;
|
||||
|
||||
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
; Data structures
|
||||
|
||||
.struct DIR
|
||||
fd .word
|
||||
offs .word
|
||||
name .byte 16+1
|
||||
.endstruct
|
||||
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
; C callable functions
|
||||
|
||||
.global _opendir
|
||||
.global _closedir
|
||||
.global _readdir
|
||||
.global _telldir
|
||||
.global _rewinddir
|
||||
|
||||
|
||||
Reference in New Issue
Block a user