OS - SIGINT (Ctrl-c, Control C)

1 - About

SIGINT is a signal created by the controlling terminal (generally a keyboard) that sends an interrupt to a process

It is an indication to a thread that it should stop what it is doing.

This signal is generated by typing the interrupt character (typically control-C).

3 - Process

When sending the SIGINT, the program may close STDOUT (“output.log”) before the program finishes to print into the final log.

Example of command with a log redirection

myProgram > output.log

Data Science
Data Analysis
Data Science
Linear Algebra Mathematics

Powered by ComboStrap