1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-17 09:07:32 +00:00
Commit Graph

34 Commits

Author SHA1 Message Date
Bob Andrews
6239fbe18c
Revert "rename '_poserror' to '__poserror'" 2022-07-24 18:14:21 +02:00
Christian Groessler
758d9466c0 rename '_poserror' to '__poserror'
The old name could be non-conforming to the C standard. The new name
is definitely in the "implementation name space".

See issue #1796.
2022-07-24 00:33:56 +02:00
mrdudz
3640beaa46 fix some header files to conform with C99 hopefully, should fix issue #1670 2022-05-08 19:29:57 +02:00
Christian Groessler
9a523abbfb limits.h: provide PATH_MAX
- stdio.h: define FILENAME_MAX to PATH_MAX
- stdio.h, stdio.inc: increase FILENAME_MAX/PATH_MAX for Atari
  (For DOSes with subdirectory support.)
2021-06-10 20:08:58 +02:00
Oliver Schmidt
935f68f686 Harmonized the style of including headers from headers.
We surely don't care about some file I/O on host machines in 2018 ;-)
2018-02-02 12:28:22 +01:00
jede
d8904c550b Fixing buffer overflow with cwd command (FILENAME_MAX must be at 50 +1 bytes) 2017-09-25 21:39:57 +02:00
Oliver Schmidt
83280e1ee2 Have __APPLE2ENH__ imply __APPLE2__ and __ATARIXL__ imply __ATARI__. 2013-06-17 21:34:08 +02:00
Oliver Schmidt
98c47d1877 Introduced target 'atarixl'.
The target 'atarixl' is to be used for Atari XL (and better) machines.
It will disable the OS ROM and enable the Shadow RAM available on
those machine.

Note: This commit is only the inital step towards for this goal that just
replicates the target 'atari' as a starting point!
2013-05-28 21:56:37 +02:00
Oliver Schmidt
85885001b1 Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
uz
e531e5abd1 Removed __fastcall__ declarations for functions without parameters.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5073 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-07-07 20:19:35 +00:00
uz
903049087c Added prototypes for snprintf/vsnprintf to stdio.h
git-svn-id: svn://svn.cc65.org/cc65/trunk@4244 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-27 12:03:07 +00:00
uz
7877d9c326 Removed flushall, since it is non-standard and not used anyway.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3894 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-08-25 20:49:52 +00:00
cuz
6448e4cf51 Fixed FILENAME_MAX
git-svn-id: svn://svn.cc65.org/cc65/trunk@3469 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-19 13:15:52 +00:00
cuz
b90ba30920 FILENAME_MAX for the apple2
git-svn-id: svn://svn.cc65.org/cc65/trunk@3459 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-14 23:06:39 +00:00
cuz
fb4613f4ea Removed a comment about the scanf functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@3302 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-26 22:41:01 +00:00
cuz
aaf47e40df Removed getchar/putchar macros
git-svn-id: svn://svn.cc65.org/cc65/trunk@3215 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-06 21:35:34 +00:00
cuz
13a2927e17 The -A and --ansi switches are gone, together with the __STRICT_ANSI__
predefined macro. Instead there is now a command line option --standard that
allows to set c89, c99 or cc65 as language standard. The compiler defines a
macro __CC65_STD__ that is one of __CC65_STD_C89__, __CC65_STD_C99__ or
__CC65_STD_CC65__ depending on the command line option. Default is cc65 (all
extensions) as before.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3133 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-06-21 22:22:11 +00:00
cuz
c885a814c7 ungetc is now available
git-svn-id: svn://svn.cc65.org/cc65/trunk@3044 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-14 20:58:37 +00:00
cuz
3266110927 Platform dependent FILENAME_MAX
git-svn-id: svn://svn.cc65.org/cc65/trunk@2952 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-21 22:10:42 +00:00
cuz
ad1ada49ac Made lots of functions __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@2616 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-06 18:04:21 +00:00
cuz
fada6651c9 Made rename() fastcall
git-svn-id: svn://svn.cc65.org/cc65/trunk@2271 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 12:54:39 +00:00
cuz
40087ae472 Restructured fcntl.h. Moved most stuff into the new unistd.h and sys/types.h
header files.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2213 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-12 09:30:16 +00:00
cuz
f87cc5d0f7 remove() is __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@2188 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-02 16:11:38 +00:00
cuz
7b3f6f9369 Rewrote vprintf in assembler and made it __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@2186 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-02 16:08:26 +00:00
cuz
254f8a9cd6 Added _poserror, made perror __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@2071 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-24 20:55:55 +00:00
cuz
7e4ac2c687 Make fputs __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@2019 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-14 00:08:54 +00:00
cuz
5f812a3269 Make fclose __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@1633 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-25 14:37:52 +00:00
cuz
0060b9fc45 Make fread and fwrite fastcall
git-svn-id: svn://svn.cc65.org/cc65/trunk@1617 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-23 23:05:21 +00:00
cuz
2fbb3ae1b7 Make fopen fastcall
git-svn-id: svn://svn.cc65.org/cc65/trunk@1609 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-23 18:47:55 +00:00
cuz
fe1f354fe8 Added scanf familiy of functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@1200 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-17 17:18:19 +00:00
cuz
4d23c7a3e6 New asm function have __fastcall__ calling conventions
git-svn-id: svn://svn.cc65.org/cc65/trunk@519 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-01 22:57:56 +00:00
cpg
3412342249 added file positioning functions (fseek etc.)
git-svn-id: svn://svn.cc65.org/cc65/trunk@270 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-11 21:34:28 +00:00
cuz
a17dee1a1c Added standard copyright headers
git-svn-id: svn://svn.cc65.org/cc65/trunk@193 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-22 19:03:03 +00:00
uz
53dd513176 This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-05-28 13:40:48 +00:00