shithub: drawterm

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

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

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