abort - * We can't do that (no signals in OS/161) so we...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
#include <stdlib.h> #include <unistd.h> /* * C standard function: panic exit from a user program. * * On most Unix systems, this sends the current process a fatal signal.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: * We can't do that (no signals in OS/161) so we just exit with a * nonzero exit code, skipping any libc cleanup. */ void abort(void) { _exit(255); }...
View Full Document

This note was uploaded on 11/10/2009 for the course CS 536 taught by Professor Lums during the Spring '09 term at Indiana.

Ask a homework question - tutors are online