conterm/posix-amd64/getcallerpc.c
2007-05-04 01:48:02 +00:00

9 lines
94 B
C

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