summaryrefslogtreecommitdiffstats
path: root/src/lib/syscall_time.C
blob: 0a779b9f0f36df351b40aaac902ae6add1d502fa (plain)
1
2
3
4
5
6
7
8
9
#include <sys/time.h>
#include <sys/syscall.h>

using namespace Systemcalls;

void nanosleep(uint64_t sec, uint64_t nsec)
{
    _syscall2(TIME_NANOSLEEP, (void*)sec, (void*)nsec);
}
OpenPOWER on IntegriCloud