conterm/posix-power/getcallerpc.c

9 lines
94 B
C
Raw Permalink Normal View History

2005-08-08 16:50:13 +04:00
#include "u.h"
#include "libc.h"
2006-05-21 20:32:29 +04:00
uintptr
2005-08-08 16:50:13 +04:00
getcallerpc(void *a)
{
2006-05-21 20:32:29 +04:00
return ((uintptr*)a)[-1];
2005-08-08 16:50:13 +04:00
}