File:  [OS/2 SDKs] / os2sdk / demos / examples / cwait / child.c
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 12:26:16 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: os2sdk-1988, HEAD
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);
}

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.