aboutsummaryrefslogtreecommitdiff
path: root/sys/libc/ctsleep.c
blob: 9b89fe085c1acab54b30fd26ba2cd08e7ce5351d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
*/

#define import_libc
#define import_xnames
#include <iraf.h>

/* C_TSLEEP -- Suspend process execution for the specified number of seconds.
*/
void
c_tsleep (
  int	nseconds
)
{
	XINT  x_nsec = nseconds;

	TSLEEP (&x_nsec);
}