]> git.sur5r.net Git - cc65/blobdiff - asminc/stdio.inc
Updated (and sorted) sample program info.
[cc65] / asminc / stdio.inc
index fcf119b7ec2fceb5fc35b5200c97701c45e678ef..ab9d86d2cf649940492e6995305fb0f41767f343 100644 (file)
@@ -6,10 +6,10 @@
 ;*                                                                           */
 ;*                                                                           */
 ;*                                                                           */
-;* (C) 2003      Ullrich von Bassewitz                                       */
-;*               Römerstrasse 52                                             */
-;*               D-70794 Filderstadt                                         */
-;* EMail:        uz@cc65.org                                                 */
+;* (C) 2003-2005, Ullrich von Bassewitz                                      */
+;*                Römerstrasse 52                                            */
+;*                D-70794 Filderstadt                                        */
+;* EMail:         uz@cc65.org                                                */
 ;*                                                                           */
 ;*                                                                           */
 ;* This software is provided 'as-is', without any expressed or implied       */
@@ -41,14 +41,24 @@ _IOLBF              = 1
 _IONBF         = 2
 BUFSIZ         = 256
 EOF            = -1
-FILENAME_MAX   = 16
-FOPEN_MAX      = 8
-L_tmpnam       = (FILENAME_MAX + 1)
+.if .defined(__APPLE2__) .or .defined(__APPLE2ENH__)
+FILENAME_MAX   = 64+1
+.elseif .defined(__ATARI__)
+FILENAME_MAX   = 12+1
+.elseif .defined(__LUNIX__)
+FILENAME_MAX    = 80+1
+.else
+FILENAME_MAX   = 16+1
+.endif
+L_tmpnam       = FILENAME_MAX
 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