Are CTRL + C and CTRL + Break different?

I thought they were exactly the same. But I just found the CTRL_C_EVENT and CTRL_BREAK_EVENT values ​​in the SetConsoleCtrlhandler function .

Is there any difference?

+4
source share
1 answer

See the official documentation here: CTRL + C and CTRL + BREAK Signals

I quote:

CTRL + BREAK is always considered a signal, but the application can default behavior CTRL + C in two ways to prevent a function handler from calling

+7
source

Source: https://habr.com/ru/post/1340516/


All Articles