Annotation of os2sdk/demos/examples/cwait/child.c, revision 1.1

1.1     ! root        1: /*
        !             2:  * Example of DOSCWAIT usage.
        !             3:  *
        !             4:  * Child program that will return a random return code.
        !             5:  *
        !             6:  * Compile as: cl -AL -G2 -Lp child.c
        !             7:  *
        !             8:  * Copyright (C) Microsoft Corp. 1986
        !             9:  */
        !            10: 
        !            11: #include <doscalls.h>
        !            12: #include <stdio.h>
        !            13: 
        !            14: #define ECODE 42
        !            15: 
        !            16: main()
        !            17: {
        !            18:        printf("child program, terminating with return code = %u\n", ECODE);
        !            19:        DOSEXIT(1, ECODE);
        !            20: }

unix.superglobalmegacorp.com

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