conterm/posix-sun4u/getcallerpc.c

10 lines
91 B
C

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