#define BUFLEN 30 void fun(void) { char buf[BUFLEN]; printf("fun called()\n"); gets(buf); printf("\n>> '%s'\n", buf); } void did_it() { printf("dit it\n"); exit(23); } int main (void) { fun(); printf("fun returned()\n"); return 0; }