repos
/
plan9port.git
/
tree
/
src
/
lib9
/ getcallerpc-PowerMacintosh.c
Blob
Date:
Fri Mar 5 02:25:41 2004 UTC
Message:
Pipes cannot use SOCK_DGRAM. Back to SOCK_STREAM. Add debugging to fdwait. Rewrite getcallerpc on PowerMac to be correct.
Actions:
History
|
Blame
|
Raw File
1
#include <lib9.h>
2
3
ulong
4
getcallerpc(void *x)
5
{
6
return (((ulong*)(x))[-4]);
7
}