Fixed the description of the return codes of the is... functions from ctype.h

(Greg King).


git-svn-id: svn://svn.cc65.org/cc65/trunk@4548 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2010-01-13 16:16:17 +00:00
parent 9c49513d80
commit 1ec3eaf507

View file

@ -2321,9 +2321,9 @@ to undefined behaviour.
<tag/Function/Check if a given character is a letter or digit. <tag/Function/Check if a given character is a letter or digit.
<tag/Header/<tt/<ref id="ctype.h" name="ctype.h">/ <tag/Header/<tt/<ref id="ctype.h" name="ctype.h">/
<tag/Declaration/<tt/int __fastcall__ isalnum (int c);/ <tag/Declaration/<tt/int __fastcall__ isalnum (int c);/
<tag/Description/The function returns a value of zero if the given argument <tag/Description/The function returns a non zero value if the given argument
is a letter or digit. The return value is non zero if the character is a letter or digit. The return value is zero if the character is anything
is anything else. else.
<tag/Limits/<itemize> <tag/Limits/<itemize>
<item>When compiling with <tt/-Os/ the function is actually a macro. The <item>When compiling with <tt/-Os/ the function is actually a macro. The
inline sequence generated by the macro will not work correctly for values inline sequence generated by the macro will not work correctly for values
@ -2359,8 +2359,8 @@ fastcall function, so it may only be used in presence of a prototype.
<tag/Function/Check if a given character is a letter. <tag/Function/Check if a given character is a letter.
<tag/Header/<tt/<ref id="ctype.h" name="ctype.h">/ <tag/Header/<tt/<ref id="ctype.h" name="ctype.h">/
<tag/Declaration/<tt/int __fastcall__ isalpha (int c);/ <tag/Declaration/<tt/int __fastcall__ isalpha (int c);/
<tag/Description/The function returns a value of zero if the given argument <tag/Description/The function returns a non zero value if the given argument
is a letter. The return value is non zero if the character is anything else. is a letter. The return value is zero if the character is anything else.
<tag/Limits/<itemize> <tag/Limits/<itemize>
<item>When compiling with <tt/-Os/ the function is actually a macro. The <item>When compiling with <tt/-Os/ the function is actually a macro. The
inline sequence generated by the macro will not work correctly for values inline sequence generated by the macro will not work correctly for values
@ -2396,9 +2396,8 @@ fastcall function, so it may only be used in presence of a prototype.
<tag/Function/Check if a given character is in the ASCII (0..127) range. <tag/Function/Check if a given character is in the ASCII (0..127) range.
<tag/Header/<tt/<ref id="ctype.h" name="ctype.h">/ <tag/Header/<tt/<ref id="ctype.h" name="ctype.h">/
<tag/Declaration/<tt/int __fastcall__ isascii (int c);/ <tag/Declaration/<tt/int __fastcall__ isascii (int c);/
<tag/Description/The function returns a value of zero if the given argument <tag/Description/The function returns a non zero value if the given argument
is in the range 0..127 (the range of valid ASCII characters) and a non zero is in the range 0..127 (the range of valid ASCII characters) and zero if not.
value if not.
<tag/Limits/<itemize> <tag/Limits/<itemize>
<item>When compiling with <tt/-Os/ the function is actually a macro. The <item>When compiling with <tt/-Os/ the function is actually a macro. The
inline sequence generated by the macro will not work correctly for values inline sequence generated by the macro will not work correctly for values
@ -2434,9 +2433,9 @@ fastcall function, so it may only be used in presence of a prototype.
<tag/Function/Check if a given character is a space or tab. <tag/Function/Check if a given character is a space or tab.
<tag/Header/<tt/<ref id="ctype.h" name="ctype.h">/ <tag/Header/<tt/<ref id="ctype.h" name="ctype.h">/
<tag/Declaration/<tt/int __fastcall__ isblank (int c);/ <tag/Declaration/<tt/int __fastcall__ isblank (int c);/
<tag/Description/The function returns a value of zero if the given argument <tag/Description/The function returns a non zero value if the given argument
is a space or tab character. The return value is non zero if the character is a space or tab character. The return value is zero if the character is
is anything else. anything else.
<tag/Limits/<itemize> <tag/Limits/<itemize>
<item>When compiling with <tt/-Os/ the function is actually a macro. The <item>When compiling with <tt/-Os/ the function is actually a macro. The
inline sequence generated by the macro will not work correctly for values inline sequence generated by the macro will not work correctly for values
@ -2472,9 +2471,9 @@ fastcall function, so it may only be used in presence of a prototype.
<tag/Function/Check if a given character is a control character. <tag/Function/Check if a given character is a control character.
<tag/Header/<tt/<ref id="ctype.h" name="ctype.h">/ <tag/Header/<tt/<ref id="ctype.h" name="ctype.h">/
<tag/Declaration/<tt/int __fastcall__ iscntrl (int c);/ <tag/Declaration/<tt/int __fastcall__ iscntrl (int c);/
<tag/Description/The function returns a value of zero if the given argument <tag/Description/The function returns a non zero value if the given argument
is a control character. The return value is non zero if the character is a control character. The return value is zero if the character is anything
is anything else. else.
<tag/Limits/<itemize> <tag/Limits/<itemize>
<item>When compiling with <tt/-Os/ the function is actually a macro. The <item>When compiling with <tt/-Os/ the function is actually a macro. The
inline sequence generated by the macro will not work correctly for values inline sequence generated by the macro will not work correctly for values
@ -2510,8 +2509,8 @@ fastcall function, so it may only be used in presence of a prototype.
<tag/Function/Check if a given character is a digit. <tag/Function/Check if a given character is a digit.
<tag/Header/<tt/<ref id="ctype.h" name="ctype.h">/ <tag/Header/<tt/<ref id="ctype.h" name="ctype.h">/
<tag/Declaration/<tt/int __fastcall__ isdigit (int c);/ <tag/Declaration/<tt/int __fastcall__ isdigit (int c);/
<tag/Description/The function returns a value of zero if the given argument <tag/Description/The function returns a non zero value if the given argument
is a digit. The return value is non zero if the character is anything else. is a digit. The return value is zero if the character is anything else.
<tag/Limits/<itemize> <tag/Limits/<itemize>
<item>When compiling with <tt/-Os/ the function is actually a macro. The <item>When compiling with <tt/-Os/ the function is actually a macro. The
inline sequence generated by the macro will not work correctly for values inline sequence generated by the macro will not work correctly for values
@ -2548,9 +2547,9 @@ fastcall function, so it may only be used in presence of a prototype.
space). space).
<tag/Header/<tt/<ref id="ctype.h" name="ctype.h">/ <tag/Header/<tt/<ref id="ctype.h" name="ctype.h">/
<tag/Declaration/<tt/int __fastcall__ isgraph (int c);/ <tag/Declaration/<tt/int __fastcall__ isgraph (int c);/
<tag/Description/The function returns a value of zero if the given argument <tag/Description/The function returns a non zero value if the given argument
is a printable character with the exception of space. The return value is non is a printable character with the exception of space. The return value is zero
zero if the character is anything else. if the character is anything else.
<tag/Limits/<itemize> <tag/Limits/<itemize>
<item>When compiling with <tt/-Os/ the function is actually a macro. The <item>When compiling with <tt/-Os/ the function is actually a macro. The
inline sequence generated by the macro will not work correctly for values inline sequence generated by the macro will not work correctly for values
@ -2586,9 +2585,9 @@ fastcall function, so it may only be used in presence of a prototype.
<tag/Function/Check if a given character is a lower case letter. <tag/Function/Check if a given character is a lower case letter.
<tag/Header/<tt/<ref id="ctype.h" name="ctype.h">/ <tag/Header/<tt/<ref id="ctype.h" name="ctype.h">/
<tag/Declaration/<tt/int __fastcall__ islower (int c);/ <tag/Declaration/<tt/int __fastcall__ islower (int c);/
<tag/Description/The function returns a value of zero if the given argument <tag/Description/The function returns a non zero value if the given argument
is a lower case letter. The return value is non zero if the character is is a lower case letter. The return value is zero if the character is anything
anything else. else.
<tag/Limits/<itemize> <tag/Limits/<itemize>
<item>When compiling with <tt/-Os/ the function is actually a macro. The <item>When compiling with <tt/-Os/ the function is actually a macro. The
inline sequence generated by the macro will not work correctly for values inline sequence generated by the macro will not work correctly for values
@ -2624,9 +2623,9 @@ fastcall function, so it may only be used in presence of a prototype.
<tag/Function/Check if a given character is a printable character. <tag/Function/Check if a given character is a printable character.
<tag/Header/<tt/<ref id="ctype.h" name="ctype.h">/ <tag/Header/<tt/<ref id="ctype.h" name="ctype.h">/
<tag/Declaration/<tt/int __fastcall__ isprint (int c);/ <tag/Declaration/<tt/int __fastcall__ isprint (int c);/
<tag/Description/The function returns a value of zero if the given argument <tag/Description/The function returns a non zero value if the given argument
is a printable character (this includes the space character). The return value is a printable character (this includes the space character). The return value
is non zero if the character is anything else. is zero if the character is anything else.
<tag/Limits/<itemize> <tag/Limits/<itemize>
<item>When compiling with <tt/-Os/ the function is actually a macro. The <item>When compiling with <tt/-Os/ the function is actually a macro. The
inline sequence generated by the macro will not work correctly for values inline sequence generated by the macro will not work correctly for values
@ -2663,9 +2662,9 @@ fastcall function, so it may only be used in presence of a prototype.
space or an alphanumeric character. space or an alphanumeric character.
<tag/Header/<tt/<ref id="ctype.h" name="ctype.h">/ <tag/Header/<tt/<ref id="ctype.h" name="ctype.h">/
<tag/Declaration/<tt/int __fastcall__ ispunct (int c);/ <tag/Declaration/<tt/int __fastcall__ ispunct (int c);/
<tag/Description/The function returns a value of zero if the given argument <tag/Description/The function returns a non zero value if the given argument
is a printable character, but not a space or anything alphanumeric. The return is a printable character, but not a space or anything alphanumeric. The return
value is non zero if the character is anything else. value is zero if the character is anything else.
<tag/Limits/<itemize> <tag/Limits/<itemize>
<item>When compiling with <tt/-Os/ the function is actually a macro. The <item>When compiling with <tt/-Os/ the function is actually a macro. The
inline sequence generated by the macro will not work correctly for values inline sequence generated by the macro will not work correctly for values
@ -2701,8 +2700,8 @@ fastcall function, so it may only be used in presence of a prototype.
<tag/Function/Check if a given character is a a white-space character. <tag/Function/Check if a given character is a a white-space character.
<tag/Header/<tt/<ref id="ctype.h" name="ctype.h">/ <tag/Header/<tt/<ref id="ctype.h" name="ctype.h">/
<tag/Declaration/<tt/int __fastcall__ isspace (int c);/ <tag/Declaration/<tt/int __fastcall__ isspace (int c);/
<tag/Description/The function returns a value of zero if the given argument <tag/Description/The function returns a non zero value if the given argument
is a white space character. The return value is non zero if the character is is a white space character. The return value is zero if the character is
anything else. The standard white space characters are: space, formfeed ('\f'), anything else. The standard white space characters are: space, formfeed ('\f'),
newline ('\n'), carriage return ('\r'), horizontal tab ('\t'), and vertical tab newline ('\n'), carriage return ('\r'), horizontal tab ('\t'), and vertical tab
('\v'). ('\v').
@ -2741,9 +2740,9 @@ fastcall function, so it may only be used in presence of a prototype.
<tag/Function/Check if a given character is an upper case letter. <tag/Function/Check if a given character is an upper case letter.
<tag/Header/<tt/<ref id="ctype.h" name="ctype.h">/ <tag/Header/<tt/<ref id="ctype.h" name="ctype.h">/
<tag/Declaration/<tt/int __fastcall__ isupper (int c);/ <tag/Declaration/<tt/int __fastcall__ isupper (int c);/
<tag/Description/The function returns a value of zero if the given argument <tag/Description/The function returns a non zero value if the given argument
is an upper case letter. The return value is non zero if the character is is an upper case letter. The return value is zero if the character is anything
anything else. else.
<tag/Limits/<itemize> <tag/Limits/<itemize>
<item>When compiling with <tt/-Os/ the function is actually a macro. The <item>When compiling with <tt/-Os/ the function is actually a macro. The
inline sequence generated by the macro will not work correctly for values inline sequence generated by the macro will not work correctly for values
@ -2779,9 +2778,9 @@ fastcall function, so it may only be used in presence of a prototype.
<tag/Function/Check if a given character is a hexadecimal digit. <tag/Function/Check if a given character is a hexadecimal digit.
<tag/Header/<tt/<ref id="ctype.h" name="ctype.h">/ <tag/Header/<tt/<ref id="ctype.h" name="ctype.h">/
<tag/Declaration/<tt/int __fastcall__ isxdigit (int c);/ <tag/Declaration/<tt/int __fastcall__ isxdigit (int c);/
<tag/Description/The function returns a value of zero if the given argument <tag/Description/The function returns a non zero value if the given argument
is a hexadecimal digit (0..9, a..f and A..F). The return value is non zero is a hexadecimal digit (0..9, a..f and A..F). The return value is zero if the
if the character is anything else. character is anything else.
<tag/Limits/<itemize> <tag/Limits/<itemize>
<item>When compiling with <tt/-Os/ the function is actually a macro. The <item>When compiling with <tt/-Os/ the function is actually a macro. The
inline sequence generated by the macro will not work correctly for values inline sequence generated by the macro will not work correctly for values