shithub: drawterm

ref: 4b2ebe94a265ad7b89cbc9dcc082773451f37a88
dir: /posix-riscv64/getcallerpc.c/

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

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