plan9port/src/lib9/getcallerpc-PowerMacintosh.c
rsc c91bd3283a Pipes cannot use SOCK_DGRAM. Back to SOCK_STREAM.
Add debugging to fdwait.

Rewrite getcallerpc on PowerMac to be correct.
2004-03-05 02:25:41 +00:00

7 lines
79 B
C

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