xref: /csrg-svn/usr.bin/pascal/libpc/CLCK.c (revision 40865)
1*40865Sbostic /*-
2*40865Sbostic  * Copyright (c) 1979 The Regents of the University of California.
3*40865Sbostic  * All rights reserved.
4*40865Sbostic  *
5*40865Sbostic  * %sccs.include.redist.c%
6*40865Sbostic  */
71643Smckusick 
8*40865Sbostic #ifndef lint
9*40865Sbostic static char sccsid[] = "@(#)CLCK.c	1.3 (Berkeley) 04/09/90";
10*40865Sbostic #endif /* not lint */
111643Smckusick 
122998Smckusic long
131643Smckusick CLCK()
141643Smckusick {
151643Smckusick 	long	tim[4];
161643Smckusick 
171643Smckusick 	times(tim);
181643Smckusick 	return (tim[0] * 50) / 3;
191643Smckusick }
20