conterm/posix-386/getcallerpc.c

9 lines
94 B
C

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