drawterm/posix-amd64/getcallerpc.c

9 lines
90 B
C
Raw Normal View History

2006-05-21 18:35:53 +02:00
#include "u.h"
#include "libc.h"
ulong
getcallerpc(void *a)
{
return ((ulong*)a)[-1];
}