htop/openbsd/OpenBSDCRT.c

23 lines
579 B
C
Raw Normal View History

2015-09-18 04:46:48 +00:00
/*
2020-09-08 12:28:15 +00:00
htop - OpenBSDCRT.c
2015-09-18 04:46:48 +00:00
(C) 2014 Hisham H. Muhammad
(C) 2015 Michael McConville
Released under the GNU GPLv2, see the COPYING file
2015-09-18 04:46:48 +00:00
in the source distribution for its full text.
*/
#include "config.h"
2020-09-08 12:28:15 +00:00
#include "OpenBSDCRT.h"
2015-09-18 04:46:48 +00:00
#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!");
2016-01-02 17:11:26 +00:00
fprintf(stderr, "\nPlease contact your platform package maintainer!\n\n");
2015-09-18 04:46:48 +00:00
abort();
}