plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

getcallerpc.c (245B)


      1 #include <u.h>
      2 #include <libc.h>
      3 
      4 /*
      5  * On gcc and clang, getcallerpc is a macro invoking a compiler builtin.
      6  * If the macro in libc.h did not trigger, there's no implementation.
      7  */
      8 #undef getcallerpc
      9 ulong
     10 getcallerpc(void *v)
     11 {
     12 	return 1;
     13 }