plan9-archive
/
sam-editor
Code
Issues
Pull Requests
Antique
Wiki
Insights
/
sam-editor
/
src
/
lib9
/
linux
/
getcallerpc.c
JU
jubei85
correct code and scripts form PF9
8751238
8 years ago
History
Code
Blame
7 lines · 79 B · C
Raw
Download
Copy shown lines
#include <lib9.h>
ulong
getcallerpc(void *x)
{
return (((ulong*)(x))[-1]);
}
#include <lib9.h> ulong getcallerpc(void *x) { return (((ulong*)(x))[-1]); }