1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-08 15:29:37 +00:00

Added docs for clock().

git-svn-id: svn://svn.cc65.org/cc65/trunk@5480 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2012-02-06 21:23:36 +00:00
parent c03a5caf19
commit 2116acd8c7

View File

@ -616,7 +616,7 @@ communication.
<itemize>
<!-- <item><ref id="_systime" name="_systime"> -->
<!-- <item><ref id="asctime" name="asctime"> -->
<!-- <item><ref id="clock" name="clock"> -->
<item><ref id="clock" name="clock">
<!-- <item><ref id="ctime" name="ctime"> -->
<!-- <item><ref id="gmtime" name="gmtime"> -->
<!-- <item><ref id="localtime" name="localtime"> -->
@ -1513,6 +1513,30 @@ used in presence of a prototype.
</quote>
<sect1>clock<label id="clock"><p>
<quote>
<descrip>
<tag/Function/Determine the processor time used.
<tag/Header/<tt/<ref id="time.h" name="time.h">/
<tag/Declaration/<tt/clock_t clock (void);/
<tag/Description/The <tt/clock/ function returns an approximaton of processor
time used by the program. The time is returned in implementation defined
units. It can be converted to seconds by dividing by the value if the macro
<tt/CLOCKS_PER_SEC/.
<tag/Limits/<itemize>
<item>Since the machines, cc65 generated programs run on, cannot run multiple
processes, the function will actually return the time since some
implementation defined point in the past.
</itemize>
<tag/Availability/ISO 9899
<tag/See also/
<ref id="time" name="time">
<tag/Example/None.
</descrip>
</quote>
<sect1>clrscr<label id="clrscr"><p>
<quote>
@ -6258,6 +6282,8 @@ only be used in presence of a prototype.
returned value may not be valid.
</itemize>
<tag/Availability/ISO 9899
<tag/See also/
<ref id="clock" name="clock">
<tag/Example/None.
</descrip>
</quote>