Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom C Library Reference - case 0: http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
          case 0:
            printf( "Normal termination exit code = %d\n",
                    status >> 8 );
            break;
          case 1:
            printf( "Hard-error abort\n" );
            break;
          case 2:
            printf( "Trap operation\n" );
            break;
          case 3:
            printf( "SIGTERM signal not intercepted\n" );
            break;
          default:
            printf( "Bogus return status\n" );
          }
        }
    #endif
        printf( "spawn completed\n" );
      }

    /*
    [child.c]
    #include <stdio.h>
    #include <stdlib.h>
    #include <dos.h>

    void main( int argc, char *argv[] )
      {
        int delay;

        if( argc <= 1 ) exit( EXIT_FAILURE );
        delay = atoi( argv[1] );
        printf( "I am a child going to sleep "
                "for %d seconds\n", delay );
        sleep( delay );
        printf( "I am a child awakening\n" );
        exit( 123 );

      }
    */

Classification:
    WATCOM

Systems:
     spawnl - DOS, Win32, QNX, OS/2 1.x(all), OS/2-32

    spawnle - DOS, Win32, QNX, OS/2 1.x(all), OS/2-32
    spawnlp - DOS, Win32, QNX, OS/2 1.x(all), OS/2-32, Netware
    spawnlpe - DOS, Win32, QNX, OS/2 1.x(all), OS/2-32
    spawnv - DOS, Win32, QNX, OS/2 1.x(all), OS/2-32
    spawnve - DOS, Win32, QNX, OS/2 1.x(all), OS/2-32
    spawnvp - DOS, Win32, QNX, OS/2 1.x(all), OS/2-32, Netware
    spawnvpe - DOS, Win32, QNX, OS/2 1.x(all), OS/2-32
    _wspawnl - DOS, Win32, OS/2 1.x(all), OS/2-32
    _wspawnle - DOS, Win32, OS/2 1.x(all), OS/2-32
    _wspawnlp - DOS, Win32, OS/2 1.x(all), OS/2-32
    _wspawnlpe - DOS, Win32, OS/2 1.x(all), OS/2-32
    _wspawnv - DOS, Win32, OS/2 1.x(all), OS/2-32
    _wspawnve - DOS, Win32, OS/2 1.x(all), OS/2-32
    _wspawnvp - DOS, Win32, OS/2 1.x(all), OS/2-32
    _wspawnvpe - DOS, Win32, OS/2 1.x(all), OS/2-32

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson