scc

A fork of https://git.simple-cc.org/scc/ for Qute

git clone https://git.8pit.net/scc.git

 1.TH CLOCK 3 scc\-VERSION
 2.SH NAME
 3clock - query processor time used by the program
 4.SH SYNOPSIS
 5#include <time.h>
 6
 7clock_t clock(void)
 8.SH DESCRIPTION
 9The
10.BR clock ()
11function returns an approximation of the processor time
12consumed by the running program.
13.SH RETURN VALUE
14The accumulated processor time is returned as a
15.IR clock_t .
16Dividing the result by
17.B CLOCKS_PER_SEC
18gives the time in seconds.
19If the processor time is unavailable or cannot be represented,
20.B (clock_t)-1
21is returned.
22.SH STANDARDS
23ISO/IEC 9899:1999 Section 7.23.2.1 Paragraph 1,2,3
24.SH SEE ALSO
25.BR time.h (3)