shithub: drawterm

ref: 8bf59cf80d50154415df2c4fc049b08e1cb4046c
dir: /posix-riscv64/getcallerpc.c/

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

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