metal-cos/lib/libc/process.c
2015-01-16 14:51:03 -08:00

16 lines
206 B
C

#include <stdint.h>
#include <unistd.h>
#include <syscall.h>
unsigned int
sleep(unsigned int seconds)
{
OSThreadSleep(seconds);
// Should return left over time if woke up early
return 0;
}