git: 9front

ref: 5264b34f53d64bf342deca56a936d6d71f270dc7
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];
}