mirror of
https://github.com/cc65/cc65.git
synced 2025-01-12 17:30:50 +00:00
Move FOPEN_MAX from _file.inc into stdio.inc
git-svn-id: svn://svn.cc65.org/cc65/trunk@2135 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
788deefec9
commit
81b37f5443
@ -12,15 +12,12 @@ _FILE_f_fd = $00
|
||||
_FILE_f_flags = $01
|
||||
_FILE_size = $02
|
||||
|
||||
; Flags field
|
||||
; Flags field
|
||||
_FCLOSED = $00
|
||||
_FOPEN = $01
|
||||
_FEOF = $02
|
||||
_FERROR = $04
|
||||
_FPUSHBACK = $08
|
||||
|
||||
; Maximum number of open files (size of table)
|
||||
FOPEN_MAX = 8
|
||||
|
||||
; File table
|
||||
.global __filetab
|
||||
|
@ -42,13 +42,15 @@ _IONBF = 2
|
||||
BUFSIZ = 256
|
||||
EOF = -1
|
||||
FILENAME_MAX = 16
|
||||
FOPEN_MAX = 8
|
||||
L_tmpnam = (FILENAME_MAX + 1)
|
||||
SEEK_CUR = 0
|
||||
SEEK_END = 1
|
||||
SEEK_SET = 2
|
||||
TMP_MAX = 256
|
||||
|
||||
; Maximum number of open files (size of the file table)
|
||||
FOPEN_MAX = 8
|
||||
|
||||
;----------------------------------------------------------------------------
|
||||
; External variables
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user