mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-15 11:20:03 +00:00
12 lines
89 B
C
12 lines
89 B
C
|
#include <lib9.h>
|
||
|
|
||
|
ulong
|
||
|
getcallerpc(void *x)
|
||
|
{
|
||
|
ulong *lp;
|
||
|
|
||
|
lp = x;
|
||
|
|
||
|
return lp[-1];
|
||
|
}
|