Copyright Digital Equipment Corp. All rights reserved.

Example

       #include <stdlib.h>
       #include <stdio.h>

       static void hw(void);

       main()
       {
           atexit(hw);
       }

       static void hw()
       {
               puts("Hello, world\n");
       }

     Running this example produces the following output:

       Hello, world