Home | History | Annotate | Download | only in ltrace.main
      1 /* Ltrace Test : main.c.
      2    Objectives  : Verify that ltrace can trace call a library function
      3    from main executable.
      4 
      5    This file was written by Yao Qi <qiyao (at) cn.ibm.com>.  */
      6 
      7 extern void print ( char* );
      8 
      9 #define	PRINT_LOOP	10
     10 
     11 int
     12 main ()
     13 {
     14   int i;
     15 
     16   for (i=0; i<PRINT_LOOP; i++)
     17     print ("Library function call!");
     18 
     19   return 0;
     20 }
     21 
     22