xref: /original-bsd/usr.bin/f77/libU77/sleep_.c (revision dd61ec61)
1*dd61ec61Sbostic /*-
2*dd61ec61Sbostic  * Copyright (c) 1980 The Regents of the University of California.
3*dd61ec61Sbostic  * All rights reserved.
47ff02d5eSdlw  *
5*dd61ec61Sbostic  * %sccs.include.proprietary.c%
6fecea0fdSkre  */
7fecea0fdSkre 
8*dd61ec61Sbostic #ifndef lint
9*dd61ec61Sbostic static char sccsid[] = "@(#)sleep_.c	5.2 (Berkeley) 04/12/91";
10*dd61ec61Sbostic #endif /* not lint */
11*dd61ec61Sbostic 
12fecea0fdSkre /*
137ff02d5eSdlw  * sleep for awhile
147ff02d5eSdlw  *
157ff02d5eSdlw  * calling sequence:
167ff02d5eSdlw  *	call sleep(seconds)
177ff02d5eSdlw  * where:
187ff02d5eSdlw  *	seconds is an integer number of seconds to sleep (see sleep(3))
197ff02d5eSdlw  */
207ff02d5eSdlw 
sleep_(sec)217ff02d5eSdlw sleep_(sec)
227ff02d5eSdlw long *sec;
237ff02d5eSdlw {
247ff02d5eSdlw 	sleep((unsigned int)*sec);
257ff02d5eSdlw }
26