git: 9front

ref: f31c5b3b3b9bc06b2ccbb1db17a731ff1b80fcbf
dir: /sys/src/cmd/unix/drawterm/posix-mips/getcallerpc.c/

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

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