diff --git a/doc/funcref.sgml b/doc/funcref.sgml index 85c79b7d6..0497a9445 100644 --- a/doc/funcref.sgml +++ b/doc/funcref.sgml @@ -247,6 +247,49 @@ function.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

@@ -265,62 +308,22 @@ function. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -1226,6 +1229,28 @@ used in presence of a prototype. +clearerr

+ + + +/ + +The function is only available as fastcall function, so it may only be +used in presence of a prototype. + +, + + + + + clrscr

@@ -1258,7 +1283,7 @@ reading the The function is only available as fastcall function, so it may only be used in presence of a prototype. -, @@ -1283,7 +1308,7 @@ associated with it. On error, -1 is returned and an error code is stored in The function is only available as fastcall function, so it may only be used in presence of a prototype. -, @@ -1794,6 +1819,79 @@ will nearly double the speed compared to slow mode. +feof

+ + + +/ + +The indicator is set only after a read past the end of a file is +attempted. +The function is only available as fastcall function, so it may only be +used in presence of a prototype. + +, + + + + + +ferror

+ + + +/ + +The function is only available as fastcall function, so it may only be +used in presence of a prototype. + +, + + + + + +fileno

+ + + +/ + +The function is only available as fastcall function, so it may only be +used in presence of a prototype. +Mixing C file I/O functions and POSIX file I/O functions for the same +file may have unpredictable results. + +, + + + + + + + free

@@ -2737,7 +2835,7 @@ associated with it. On error, -1 is returned and an error code is stored in open, which is used as the permission mask when a new file is created. While cc65 allows to pass this argument, it is ignored. -, @@ -3089,7 +3187,7 @@ seconds have elapsed. The function is only available as fastcall function, so it may only be used in presence of a prototype. - @@ -3811,8 +3909,11 @@ name="remove">/ instead, which is a native ANSI C function and does the same. availability of file I/O). The function is only available as fastcall function, so it may only be used in presence of a prototype. +Instead of / should be +used, which has the same semantics, but is more portable, because it conforms +to the ISO C standard. -