shithub: riscv

ref: 74dfb591e159b5d4600e34dc736a611b2f4a11ba
dir: /sys/src/ape/lib/ap/plan9/pause.c/

View raw version
#include "lib.h"
#include <unistd.h>
#include "sys9.h"

int
pause(void)
{
	for(;;)
		if(_SLEEP(1000*1000) < 0)
			return -1;
}