http://blogs.msdn.com/b/oldnewthing/archive/2007/05/03/23833...
Every programmer should read the source to abort() at some point in their life.
11–20 of 61 posts
Re: Every programmer should read the source to abort() at some point in their life.
#12http://svnweb.freebsd.org/base/head/lib/libc/stdlib/abort.c?...
And GNU glibc's abort():
http://sourceware.org/git/?p=glibc.git;a=blob_plain;f=stdlib...
Re: Every programmer should read the source to abort() at some point in their life.
#13Plan 9's abort causes an access fault, causing the current process to enter the `Broken' state. The process can then be inspected by a debugger. Pretty elegant. http://plan9.bell-labs.com/sources/plan9/sys/src/libc/9sys/a...
Re: Every programmer should read the source to abort() at some point in their life.
#14Re: Every programmer should read the source to abort() at some point in their life.
#15Plan 9's abort causes an access fault, causing the current process to enter the `Broken' state. The process can then be inspected by a debugger. Pretty elegant. http://plan9.bell-labs.com/sources/plan9/sys/src/libc/9sys/a...
Re: Every programmer should read the source to abort() at some point in their life.
#16Re: Every programmer should read the source to abort() at some point in their life.
#17Plan 9's abort causes an access fault, causing the current process to enter the `Broken' state. The process can then be inspected by a debugger. Pretty elegant. http://plan9.bell-labs.com/sources/plan9/sys/src/libc/9sys/a...
Re: Every programmer should read the source to abort() at some point in their life.
#18Plan 9's abort causes an access fault, causing the current process to enter the `Broken' state. The process can then be inspected by a debugger. Pretty elegant. http://plan9.bell-labs.com/sources/plan9/sys/src/libc/9sys/a...
Re: Every programmer should read the source to abort() at some point in their life.
#19Re: Every programmer should read the source to abort() at some point in their life.
#20Why is the outer while(1) loop needed? Seems redundant to me.