Annotation of os232sdk/c386/include/process.h, revision 1.1

1.1     ! root        1: /***
        !             2: *process.h - definition and declarations for process control functions
        !             3: *
        !             4: *      Copyright (c) 1985-1990, Microsoft Corporation.  All rights reserved.
        !             5: *
        !             6: *Purpose:
        !             7: *      This file defines the modeflag values for spawnxx calls.
        !             8: *      Only P_WAIT and P_OVERLAY are currently implemented on MS-DOS.
        !             9: *      Also contains the function argument declarations for all
        !            10: *      process control related routines.
        !            11: *
        !            12: ****/
        !            13: 
        !            14: 
        !            15: /* modeflag values for spawnxx routines */
        !            16: 
        !            17: #ifndef _MT
        !            18: extern int _cdecl _p_overlay;
        !            19: #endif
        !            20: 
        !            21: #define P_WAIT         0
        !            22: #define P_NOWAIT       1
        !            23: #ifdef _MT
        !            24: #define P_OVERLAY      2
        !            25: #else
        !            26: #define P_OVERLAY      _p_overlay
        !            27: #endif
        !            28: #define OLD_P_OVERLAY  2
        !            29: #define P_NOWAITO      3
        !            30: #define P_DETACH       4
        !            31: 
        !            32: 
        !            33: /* Action Codes used with Cwait() */
        !            34: 
        !            35: #define WAIT_CHILD 0
        !            36: #define WAIT_GRANDCHILD 1
        !            37: 
        !            38: 
        !            39: /* function prototypes */
        !            40: 
        !            41: #ifdef _MT
        !            42: int _cdecl _beginthread (void (_cdecl *) (void *), unsigned, void *);
        !            43: void _cdecl _endthread(void);
        !            44: #endif
        !            45: void _cdecl abort(void);
        !            46: void _cdecl _cexit(void);
        !            47: void _cdecl _c_exit(void);
        !            48: int _cdecl cwait(int *, int, int);
        !            49: int _cdecl execl(const char *, const char *, ...);
        !            50: int _cdecl execle(const char *, const char *, ...);
        !            51: int _cdecl execlp(const char *, const char *, ...);
        !            52: int _cdecl execlpe(const char *, const char *, ...);
        !            53: int _cdecl execv(const char *, const char * const *);
        !            54: int _cdecl execve(const char *, const char * const *, const char * const *);
        !            55: int _cdecl execvp(const char *, const char * const *);
        !            56: int _cdecl execvpe(const char *, const char * const *, const char * const *);
        !            57: void _cdecl exit(int);
        !            58: void _cdecl _exit(int);
        !            59: int _cdecl getpid(void);
        !            60: int _cdecl spawnl(int, const char *, const char *, ...);
        !            61: int _cdecl spawnle(int, const char *, const char *, ...);
        !            62: int _cdecl spawnlp(int, const char *, const char *, ...);
        !            63: int _cdecl spawnlpe(int, const char *, const char *, ...);
        !            64: int _cdecl spawnv(int, const char *, const char * const *);
        !            65: int _cdecl spawnve(int, const char *, const char * const *,
        !            66:        const char * const *);
        !            67: int _cdecl spawnvp(int, const char *, const char * const *);
        !            68: int _cdecl spawnvpe(int, const char *, const char * const *,
        !            69:        const char * const *);
        !            70: int _cdecl system(const char *);
        !            71: int _cdecl wait(int *);

unix.superglobalmegacorp.com

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