 The exit operation typically performs clean-up operations within the process space before returning control back to the operating system.Some systems and programming languages allow user subroutines to be registered so that they are invoked at program termination before the process actually terminates for good.As the final step of termination, a primitive system exit call is invoked, informing the operating system that the process has terminated and allows it to reclaim the resources used by the process.