From: cuz Date: Wed, 20 Aug 2003 18:01:37 +0000 (+0000) Subject: More function docs X-Git-Tag: V2.12.0~1360 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=733614bdbf1eb1cf06f8aed969b18e55cddd9123;p=cc65 More function docs git-svn-id: svn://svn.cc65.org/cc65/trunk@2400 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/doc/funcref.sgml b/doc/funcref.sgml index 1269fa268..ea871aa4c 100644 --- a/doc/funcref.sgml +++ b/doc/funcref.sgml @@ -7,7 +7,7 @@ cc65 is a C compiler for 6502 based systems. This function reference describes -the available C functions supplied by the library. +the C functions available in the standard library. @@ -146,6 +146,15 @@ function. +

+ + + + + + + +

@@ -161,28 +170,28 @@ function. - + - - + + - - + + - + - - + + @@ -190,11 +199,11 @@ function. - + - - - + + + @@ -221,6 +230,21 @@ function. +

+ + + + + + + + + + + + + + Alphabetical function reference

@@ -324,6 +348,30 @@ considered random to a certain degree. +_swap

+ + + +/ + +The memory areas may not overlap, otherwise the results are undefined. +The function is only available as fastcall function, so it may only be +used in presence of a prototype. + +, + + + + + _sys

@@ -506,6 +554,60 @@ used in presence of a prototype. +atoi

+ + + +/ + +There is no way to detect any conversion errors. +The function does not check for an numerical overflow when converting. +The function is only available as fastcall function, so it may only be +used in presence of a prototype. + +, +, +, +, + + + + + +atol

+ + + +/ + +There is no way to detect any conversion errors. +The function does not check for an numerical overflow when converting. +The function is only available as fastcall function, so it may only be +used in presence of a prototype. + +, +, +, +, + + + + + bgcolor

@@ -554,6 +656,33 @@ be used in presence of a prototype. +bzero

+ + + +/ + +The function is non standard and therefore only available in non ANSI +mode. You should use / instead. +The function is only available as fastcall function, so it may only +be used in presence of a prototype. + +, +, +, +, + + + + c64mode

@@ -745,6 +874,54 @@ the upper left corner. +close

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

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

@@ -1121,6 +1298,29 @@ be used in presence of a prototype. +getenv

+ + + +/ + +What exactly is stored in the environment depends on the machine the +program is running on. +The function is only available as fastcall function, so it may only +be used in presence of a prototype. + + + + + getcpu

@@ -1720,6 +1920,35 @@ fastcall function, so it may only be used in presence of a prototype. +itoa

+ + + +/ + +There are no provisions to prevent a buffer overflow. +If The function is non standard, so it is not available in strict ANSI mode. +You should probably use The function is only available as fastcall function, so it may only be +used in presence of a prototype. + +, +, +, +, + + + + + kbhit

@@ -1764,6 +1993,35 @@ used in presence of a prototype. +ltoa

+ + + +/ + +There are no provisions to prevent a buffer overflow. +If The function is non standard, so it is not available in strict ANSI mode. +You should probably use The function is only available as fastcall function, so it may only be +used in presence of a prototype. + +, +, +, +, + + + + + malloc

@@ -1792,6 +2050,111 @@ be used in presence of a prototype. +memcpy

+ + + +/ + +The result is undefined if the memory areas do overlap. Use +/ to copy overlapping memory areas. +The function is only available as fastcall function, so it may only +be used in presence of a prototype. + +, +, + + + + + +memmove

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

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

+ + + +/ + +POSIX specifies an additional The function is only available as fastcall function, so it may only +be used in presence of a prototype. + +, + + + + + raise

@@ -1952,6 +2315,25 @@ be used in presence of a prototype. +sleep

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

@@ -2314,6 +2696,62 @@ only be used in presence of a prototype. +ultoa

+ + + +/ + +There are no provisions to prevent a buffer overflow. +The function is non standard, so it is not available in strict ANSI mode. +You should probably use The function is only available as fastcall function, so it may only be +used in presence of a prototype. + +, +, +, +, + + + + + +utoa

+ + + +/ + +There are no provisions to prevent a buffer overflow. +The function is non standard, so it is not available in strict ANSI mode. +You should probably use The function is only available as fastcall function, so it may only be +used in presence of a prototype. + +, +, +, +, + + + + + wherex