shithub: drawterm

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

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

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