shithub: riscv

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