shithub: riscv

ref: 25a5ae8a4457236908b7eaea2589381fead65ad6
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];
}