git: 9front

ref: a47f5ba52df3850d858c9dad94e1afe1f362f91c
dir: /sys/src/cmd/unix/drawterm/posix-amd64/getcallerpc.c/

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

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