Is there any way to exit program directly from inside void function. I want exit the whole program not only the function.