Subversion Repositories planix.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
#include <u.h>
2
#include <libc.h>
3
#include <thread.h>
4
#include "threadimpl.h"
5
 
6
static long
7
_iosleep(va_list *arg)
8
{
9
	long n;
10
 
11
	n = va_arg(*arg, long);
12
	return sleep(n);
13
}
14
 
15
int
16
iosleep(Ioproc *io, long n)
17
{
18
	return iocall(io, _iosleep, n);
19
}