system call is unmount not umount
[unix-history] / usr / src / lib / libc / gen / clock.3
.\" Copyright (c) 1989 The Regents of the University of California.
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms are permitted
.\" provided that the above copyright notice and this paragraph are
.\" duplicated in all such forms and that any documentation,
.\" advertising materials, and other materials related to such
.\" distribution and use acknowledge that the software was developed
.\" by the University of California, Berkeley. The name of the
.\" University may not be used to endorse or promote products derived
.\" from this software without specific prior written permission.
.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
.\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
.\"
.\" @(#)clock.3 5.1 (Berkeley) %G%
.\"
.TH CLOCK 3 ""
.AT 3
.SH NAME
clock - determine processor time used
.SH SYNOPSIS
.nf
#include <sys/types.h>
clock_t
clock()
.fi
.SH DESCRIPTION
.I Clock
returns the amount of processor time used since the process
invocation, measured in
.IR CLK_TCK 's.
.PP
On error,
.I clock
returns -1.
.SH "SEE ALSO"
getrusage(2)