getcallerpc-x86_64.c - 9base - revived minimalist port of Plan 9 userland to Un… | |
git clone git://git.suckless.org/9base | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
getcallerpc-x86_64.c (79B) | |
--- | |
1 #include <lib9.h> | |
2 | |
3 ulong | |
4 getcallerpc(void *x) | |
5 { | |
6 return (((ulong*)(x))[-1]); | |
7 } |