The unction "sigint_handler" is working successfully when the variable "shutdown" is a pointer.