mirror of https://github.com/xzeldon/htop.git
23 lines
557 B
C
23 lines
557 B
C
![]() |
/*
|
||
|
htop - UnsupportedCRT.c
|
||
|
(C) 2014 Hisham H. Muhammad
|
||
|
(C) 2015 Michael McConville
|
||
|
Released under the GNU GPL, see the COPYING file
|
||
|
in the source distribution for its full text.
|
||
|
*/
|
||
|
|
||
|
#include "config.h"
|
||
|
#include "CRT.h"
|
||
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
|
||
|
void CRT_handleSIGSEGV(int sgn) {
|
||
|
(void) sgn;
|
||
|
CRT_done();
|
||
|
fprintf(stderr, "\n\nhtop " VERSION " aborting.\n");
|
||
|
fprintf(stderr, "\nUnfortunately, you seem to be using an unsupported platform!");
|
||
|
fprintf(stderr, "\nPlease contact your platform package mantainer!\n\n");
|
||
|
abort();
|
||
|
}
|
||
|
|