drawterm/posix-386/getcallerpc.c
Russ Cox 934846f35c a
2005-08-08 12:50:13 +00:00

9 lines
90 B
C

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