xref: /csrg-svn/usr.bin/f77/libF77/CCI/mclock_.c (revision 47942)
1*47942Sbostic /*-
2*47942Sbostic  * Copyright (c) 1991 The Regents of the University of California.
3*47942Sbostic  * All rights reserved.
4*47942Sbostic  *
5*47942Sbostic  * This code is derived from software contributed to Berkeley by
6*47942Sbostic  * Computer Consoles Inc.
7*47942Sbostic  *
8*47942Sbostic  * %sccs.include.proprietary.c%
929957Smckusick  */
1029957Smckusick 
11*47942Sbostic #ifndef lint
12*47942Sbostic static char sccsid[] = "@(#)mclock_.c	5.2 (Berkeley) 04/12/91";
13*47942Sbostic #endif /* not lint */
14*47942Sbostic 
mclock_()1529957Smckusick long int  mclock_()
1629957Smckusick   {
1729957Smckusick   int  buf[6];
1829957Smckusick   times(buf);
1929957Smckusick   return(buf[0]+buf[2]+buf[3]);
2029957Smckusick   }
21