[klibc] sighandler_t signal(int signum, sighandler_t handler);

Jon Smirl jonsmirl at yahoo.com
Sun Feb 22 09:17:30 PST 2004


Could klibc use ifdef __linux__ or __bsd___ to pick which version of signal? 

--- "H. Peter Anvin" <hpa at zytor.com> wrote:
> Jon Smirl wrote:
> > sighandler_t signal(int signum, sighandler_t handler);
> > 
> > it's in the headers ok but the function seems to be missing. I seem to
> recall
> > this working in older versions.
> > 
> > linking...
> > /home/mesa/boot/v86bios/main.c:411: undefined reference to `signal'
> > main.o(.text+0x613): /home/mesa/boot/v86bios/main.c:412: undefined reference
> to
> > `signal'
> > 
> 
> signal() has been removed because people can't agree on if it should be 
> bsd_signal() or sysv_signal().  It's in the CAVEATS file.
> 
> 	-hpa


=====
Jon Smirl
jonsmirl at yahoo.com

__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools



More information about the klibc mailing list