drawterm/posix-amd64/getcallerpc.c

9 lines
94 B
C
Raw Normal View History

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