drawterm/posix-amd64/getcallerpc.c

9 lines
90 B
C

#include "u.h"
#include "libc.h"
ulong
getcallerpc(void *a)
{
return ((ulong*)a)[-1];
}