drawterm/posix-amd64/getcallerpc.c

9 lines
94 B
C
Raw Normal View History

2006-05-21 16:35:53 +00:00
#include "u.h"
#include "libc.h"
2007-05-04 01:48:02 +00:00
uintptr
2006-05-21 16:35:53 +00:00
getcallerpc(void *a)
{
2007-05-04 01:48:02 +00:00
return ((uintptr*)a)[-1];
2006-05-21 16:35:53 +00:00
}