xref: /csrg-svn/lib/libc/gen/clock.3 (revision 43571)
Copyright (c) 1989 The Regents of the University of California.
All rights reserved.

%sccs.include.redist.man%

@(#)clock.3 5.2 (Berkeley) 06/23/90

CLOCK 3 ""
.AT 3
NAME
clock - determine processor time used
SYNOPSIS
#include <sys/types.h>

clock_t
clock()
DESCRIPTION
Clock returns the amount of processor time used since the process invocation, measured in CLK_TCK 's.

On error, clock returns -1.

"SEE ALSO"
getrusage(2)