xref: /plan9/sys/src/cmd/unix/drawterm/posix-sun4u/getcallerpc.c (revision ec59a3ddbfceee0efe34584c2c9981a5e5ff1ec4)
1 #include "u.h"
2 #include "libc.h"
3 
4 ulong
getcallerpc(void * a)5 getcallerpc(void *a)
6 {
7 	return ((ulong*)a)[-1];
8 }
9 
10