|
NAMEgetcallerpc - fetch return PC of current functionSYNOPSIS#include <u.h>#include <libc.h> ulong getcallerpc(void *firstarg) DESCRIPTIONGetcallerpc is a portable way to discover the PC to which the current function will return. Firstarg should be a pointer to the first argument to the function in question.EXAMPLE
SOURCE/src/lib9/BUGSThe firstarg parameter should not be necessary. Visit the GSP FreeBSD Man Page Interface. |