aboutsummaryrefslogtreecommitdiff
path: root/src/libthread/iosleep.c
blob: 5575645440eb0c32ed9f83c1418f7580bec69a6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "threadimpl.h"

static long
_iosleep(va_list *arg)
{
	long n;

	n = va_arg(*arg, long);
	return sleep(n);
}

int
iosleep(Ioproc *io, long n)
{
	return iocall(io, _iosleep, n);
}