shithub: riscv

ref: b15430979d712d27ea4cd40ca2ab031206081dfe
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;
}