The Ancient Chinese invented paper and money. Money was invented by the first king of China and paper was invented by a man in China by bamboo.
Example C Program to Catch a Signal. Most of the Linux users use the key combination Ctr+C to terminate processes in Linux. Have you ever thought of what goes behind this. Well, whenever ctrl+c is pressed, a signal SIGINT is sent to the process. The default action of this signal is to terminate the process. But this signal can also be handled.
The two sample programs below illustrate how a C function is called from MASM, both with and without the PROTO and INVOKE directives. Sample Code 1 calls the C printf() function using the conventional method of coding. Sample Code 2 shows the simplified call to the same function through the use of PROTO and INVOKE.