mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-15 11:20:03 +00:00
c91bd3283a
Add debugging to fdwait. Rewrite getcallerpc on PowerMac to be correct.
7 lines
79 B
C
7 lines
79 B
C
#include <lib9.h>
|
|
|
|
ulong
|
|
getcallerpc(void *x)
|
|
{
|
|
return (((ulong*)(x))[-4]);
|
|
}
|