shithub: riscv

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