minix

SIGHUP, SIGINT, and SIGKILL are standard POSIX signals used in Unix-like operating systems (such as Linux and macOS) to communicate with and control running processes. [1, 2]
Here is the direct breakdown of their differences, behaviors, and standard use cases:

Overview Comparison

Signal Name	Signal Number	Trigger Method	Catchable / Ignorable?	Primary Modern Purpose
SIGHUP(Hangup)	1	Closing terminal, kill -1	Yes	Reload configuration files or notify terminal disconnect.
SIGINT(Interrupt)	2	Pressing Ctrl+C, kill -2	Yes	Interrupt foreground processes gracefully.
SIGKILL (Kill)	9	kill -9	No (Handled by OS kernel)	Forcefully and instantly destroy an unresponsive process.
eigenbemerkung:
  1. Errors
  2. Call Nr
  3. Signals
Daneben gibt es
  1. Errors
  2. Call Nr
  3. Signals
  4. Interrupts (Interrupt Vektor)
typische Fehler
34 Fehler? NERROR 34
#define NERROR 34
#define OK 0
#define ERROR -1

// Fehler Allgemein: ERROR (-1) immer, NERROR, 34 Betriebssystem Minix 
// OK: 0

/*
ENOMEM 
EIO 
ENOENT (Oft...)

E NO ENVIRONMENT (No Environment - keine Umgebung)
ENOMEM (Kein Speicher) 
EIO (IO Fehler)
EDIV (Device Fehler)

Geraet, IO, Memory 

...

SIGNALS sind klassischer weise: 
SIGHUB 
SIGKILL 
SIGINT 
SIGILL 
SIG...

alle lernen

/h/signal.h
/h/callnr.h
/h/error.h

SIGHUB?? wusste ich nicht

Closing Terminal

Also: Konsole: Bash Schliessen 
Ctrl+C (das beruehmte, womit man immer sein programm beendet ist: 
SIGINT 

also, das Ctrl+C, was man immer drueckt, ist SIGINT 

Die Konsole selber schliessen ist SIGHUB

Dieses Ctrl+C ist -2, 
und dann sagt man in Zukunft mehr (ich - sie vielleicht schon - zum lernen)
Ctrl+C sondern SIGINT 

und beim Beenden der Konsole SIGHUB ... 

ok: SIGKILL 
ist KILL prozess beenden und zwar von aussen... also wenn ich 

pkill Processname/Prog Name..

oder 

kill -KILL ProcessNr

Dann ist das 

SIGKILL

Sighub - HangUp