conterm/posix-amd64/getcallerpc.c

9 lines
94 B
C
Raw Permalink Normal View History

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