From: cuz Date: Sat, 2 Oct 2004 20:14:49 +0000 (+0000) Subject: More exact POSIX references. X-Git-Tag: V2.12.0~631 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8c2d2336033da290c0cacc581705e531cc6a8338;p=cc65 More exact POSIX references. fileno function. Fix stdio functions that were listed as in stdlib.h. git-svn-id: svn://svn.cc65.org/cc65/trunk@3204 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/doc/funcref.sgml b/doc/funcref.sgml index 85c79b7d6..0497a9445 100644 --- a/doc/funcref.sgml +++ b/doc/funcref.sgml @@ -247,43 +247,23 @@ function.

- -

- - - - - - - - - - - - - - - - - - + - - + + - + - @@ -293,28 +273,15 @@ function. - - - - - - - - - - - - - @@ -324,6 +291,42 @@ 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. -