xref: /csrg-svn/usr.bin/f77/libU77/sleep_.c (revision 47944)
1*47944Sbostic /*-
2*47944Sbostic  * Copyright (c) 1980 The Regents of the University of California.
3*47944Sbostic  * All rights reserved.
42540Sdlw  *
5*47944Sbostic  * %sccs.include.proprietary.c%
623046Skre  */
723046Skre 
8*47944Sbostic #ifndef lint
9*47944Sbostic static char sccsid[] = "@(#)sleep_.c	5.2 (Berkeley) 04/12/91";
10*47944Sbostic #endif /* not lint */
11*47944Sbostic 
1223046Skre /*
132540Sdlw  * sleep for awhile
142540Sdlw  *
152540Sdlw  * calling sequence:
162540Sdlw  *	call sleep(seconds)
172540Sdlw  * where:
182540Sdlw  *	seconds is an integer number of seconds to sleep (see sleep(3))
192540Sdlw  */
202540Sdlw 
sleep_(sec)212540Sdlw sleep_(sec)
222540Sdlw long *sec;
232540Sdlw {
242540Sdlw 	sleep((unsigned int)*sec);
252540Sdlw }
26