Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Dec 2000 09:28:30 -0600
From:      seebs@plethora.net (Peter Seebach)
To:        hackers@freebsd.org
Subject:   Re: Why not another style thread? (was Re: cvs commit: src/lib/libc/gen .. 
Message-ID:  <200012201528.JAA15116@guild.plethora.net>
In-Reply-To: Your message of "Wed, 20 Dec 2000 11:25:36 GMT." <Pine.BSF.4.21.0012201120480.436-100000@kai.qix.co.uk> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.BSF.4.21.0012201120480.436-100000@kai.qix.co.uk>, Aled Morris 
writes:
>Shouldn't you use "kill(0, SIGSEGV)" ?

Gratuitously verbose!
	raise(SIGSEGV);

(To be fair, raise(SIGSEGV) is quite likely to just jump to the segfault
handler without actually setting any signal bits, but who can tell?[*])

-s
[*]  I don't have a FreeBSD complete source tree handy, this is a general
comment about arbitrary future libc implementations.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012201528.JAA15116>