shithub: drawterm

ref: af720a92c15c5754fc0f3df0d1d95ed7cdf61a02
dir: /posix-riscv64/getcallerpc.c/

View raw version
#include "u.h"
#include "libc.h"

uintptr
getcallerpc(void *a)
{
	return ((uintptr*)a)[-1];
}