shithub: drawterm

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

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

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