xref: /csrg-svn/usr.bin/pascal/libpc/SCLCK.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  */
71699Smckusick 
8*40865Sbostic #ifndef lint
9*40865Sbostic static char sccsid[] = "@(#)SCLCK.c	1.3 (Berkeley) 04/09/90";
10*40865Sbostic #endif /* not lint */
111699Smckusick 
123030Smckusic long
131699Smckusick SCLCK()
141699Smckusick {
151699Smckusick 	long	tim[4];
161699Smckusick 
171699Smckusick 	times(tim);
181699Smckusick 	return (tim[1] * 50) / 3;
191699Smckusick }
20