shithub: riscv

ref: c135b5af7abfefe595e109a90becc0281892a9ba
dir: /sys/src/cmd/unix/drawterm/posix-power/getcallerpc.c/

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

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