From 7f563d0349a4c3fc10f0b27ea9e93ec64bc7cd35 Mon Sep 17 00:00:00 2001 From: cuz Date: Thu, 8 Jun 2000 18:45:51 +0000 Subject: [PATCH] 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 --- doc/library.txt | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/doc/library.txt b/doc/library.txt index da5d9933e..8b19f4524 100644 --- a/doc/library.txt +++ b/doc/library.txt @@ -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 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: - + -- 2.39.5