Commit | Line | Data |
---|---|---|
b11bdece | 1 | /* |
161423a6 RE |
2 | * Copyright (c) 1980 Regents of the University of California. |
3 | * All rights reserved. The Berkeley software License Agreement | |
4 | * specifies the terms and conditions for redistribution. | |
b11bdece | 5 | * |
95f51977 | 6 | * @(#)sleep_.c 5.1 6/7/85 |
161423a6 RE |
7 | */ |
8 | ||
9 | /* | |
b11bdece DW |
10 | * sleep for awhile |
11 | * | |
12 | * calling sequence: | |
13 | * call sleep(seconds) | |
14 | * where: | |
15 | * seconds is an integer number of seconds to sleep (see sleep(3)) | |
16 | */ | |
17 | ||
18 | sleep_(sec) | |
19 | long *sec; | |
20 | { | |
21 | sleep((unsigned int)*sec); | |
22 | } |