drawterm/posix-386/getcallerpc.c

9 lines
94 B
C
Raw Normal View History

2005-08-08 14:50:13 +02:00
#include "u.h"
#include "libc.h"
2006-05-21 18:32:29 +02:00
uintptr
2005-08-08 14:50:13 +02:00
getcallerpc(void *a)
{
2006-05-21 18:32:29 +02:00
return ((uintptr*)a)[-1];
2005-08-08 14:50:13 +02:00
}