shithub: 9ferno

ref: f38ffb2e9b569b388bfa44d08eab369509359ab7

View raw version
#include <lib9.h>

uintptr
getcallerpc(void *x)
{
//uintptr *lp;

//	lp = x;

//	return lp[-1];
	return (uintptr) __builtin_return_address(0);
}