1 #include <unistd.h> 2 3 extern int dep3 (void); 4 5 static void 6 __attribute__ ((constructor)) init(void)7init (void) 8 { 9 write (1, "0", 1); 10 } 11 12 static void 13 __attribute__ ((destructor)) fini(void)14fini (void) 15 { 16 write (1, "9\n", 2); 17 } 18 19 int dep3(void)20dep3 (void) 21 { 22 return 42; 23 } 24