mirror of
https://github.com/cc65/cc65.git
synced 2024-12-22 12:30:41 +00:00
Remove some comments about limitations that do no longer exist, resp. add
new stuff where needed. git-svn-id: svn://svn.cc65.org/cc65/trunk@34 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
ca815af077
commit
7f563d0349
@ -97,17 +97,6 @@ Functions that are limited in any way:
|
||||
See newvers.txt for a discussion of the problem.
|
||||
|
||||
|
||||
* The character classification functions (is...)
|
||||
|
||||
These functions have unexpected results when called with arguments that
|
||||
are not really chars (are outside the 0..255 range).
|
||||
|
||||
|
||||
* The strerror function
|
||||
|
||||
The function will return "error #n" where n is the error number.
|
||||
|
||||
|
||||
* strcspn/strpbrk/strspn
|
||||
|
||||
These functions have a length limitation of 256 for the second string
|
||||
@ -123,6 +112,20 @@ Functions that are limited in any way:
|
||||
identical to the "C" locale.
|
||||
|
||||
|
||||
In addition to these limitations, some more functions are limited if inlined
|
||||
versions are requested by using -Os:
|
||||
|
||||
* The strlen function only works for strings with a maximum length of
|
||||
255 characters.
|
||||
|
||||
* The isxxx character classification functions from <ctype.h> will give
|
||||
unpredictable results if the argument is not in character range
|
||||
(0..255). This limitation may be removed by #undef'ing the function
|
||||
name (when using -Os, the functions are actually macros that expand to
|
||||
inline assembler code, but the real functions are still available if
|
||||
the macro definition is removed).
|
||||
|
||||
|
||||
|
||||
3. CPU specific stuff - 6502.h
|
||||
------------------------------
|
||||
@ -232,4 +235,4 @@ freely, subject to the following restrictions:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user