conterm/posix-386/getcallerpc.c
2006-05-21 16:32:29 +00:00

9 lines
94 B
C

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