conterm/posix-386/getcallerpc.c

9 lines
90 B
C
Raw Normal View History

2005-08-08 16:50:13 +04:00
#include "u.h"
#include "libc.h"
ulong
getcallerpc(void *a)
{
return ((ulong*)a)[-1];
}