Re: atexit

2001-09-30 Thread Derek L Davies
I get this: gcc ae.c -o ae /tmp/ccu0o440.o: In function `main': /tmp/ccu0o440.o(.text+0x37): undefined reference to `atexit' collect2: ld returned 1 exit status with my test program. A similar test using on_exit works as expected. My stdlib.h has: /* Register a function to be called when `exi

atexit

2001-09-30 Thread Derek L Davies
Hi, I've been having problems with atexit for a long time now. I've tried various ways to figure out what's going on without luck. It looks like somewhere along the line atexit disappeared from libc6 . I know on_exit does what atexit does and more - has atexit been deprecated and removed? Hop