|
|
Microsoft OS/2 SDK 03-01-1988
/*
* Example of DosCWait usage.
*
* Child program that will return a random return code.
*
* Compile as: cl -AL -G2 -Lp child.c
*
* Created by Microsoft Corp. 1986
*/
#include <os2def.h>
#include <bsedos.h>
#include <stdio.h>
#define ECODE 42
main()
{
printf("child program, terminating with return code = %u\n", ECODE);
DosExit(EXIT_PROCESS,ECODE);
}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.