/***************************************************************************/ /* */ /* */ /* Print & exit with the specified return code. */ /* Copyright (c) 1989-1992 by Hamilton Laboratories. All rights reserved. */ /* */ /* */ /***************************************************************************/ #include <windows.h> #include <stdlib.h> #include <stdio.h> void cdecl main ( int argc, char *argv[] ) { unsigned return_code = 0; if (argc > 1) printf("%d\n", return_code = atoi(argv[1])); else printf("0\n"); ExitProcess(return_code); }
Hamilton C shell |
Free Updates |
Free Demo Software |
Win32 Training
Y2K |
Customer Testimonials |
On-line Hamilton C shell User Guide
Home |
Email |
Support |
Company Profile |
Distributors |
Links
Copyright © 1997-2001 by Hamilton Laboratories.
All rights reserved.
You are visitor number
432.
This page was last modified August 14, 2001.