Files
9base/lib9/getcallerpc-x86_64.c
garbeam@wmii.de e5f0f74b8a initial import
2005-11-20 18:27:27 +02:00

8 lines
79 B
C

#include <lib9.h>
ulong
getcallerpc(void *x)
{
return (((ulong*)(x))[-1]);
}