home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 3 / CDPDIII.bin / pd / programming / gnuc / library / rcs / printstart.c,v < prev    next >
Encoding:
Text File  |  1992-07-04  |  417 b   |  34 lines

  1. head    1.1;
  2. access;
  3. symbols
  4.     version39-41:1.1;
  5. locks;
  6. comment    @ *  @;
  7.  
  8.  
  9. 1.1
  10. date    92.05.14.19.55.40;    author mwild;    state Exp;
  11. branches;
  12. next    ;
  13.  
  14.  
  15. desc
  16. @debugging command to print current address of ix_startup() function
  17. @
  18.  
  19.  
  20. 1.1
  21. log
  22. @Initial revision
  23. @
  24. text
  25. @#include <sys/syscall.h>
  26.  
  27. extern long ixemulbase;
  28.  
  29. main()
  30. {
  31.   printf ("ix_startup is @@$%lx.\n", *(unsigned long *)(ixemulbase - 6*(SYS_ix_startup + 4) + 2));
  32. }
  33. @
  34.