Ignore:
Timestamp:
Oct 10, 2004, 1:01:21 PM (21 years ago)
Author:
bird
Message:

DOSSIGNALS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/os2emx.h

    • Property cvs2svn:cvs-rev changed from 1.19 to 1.20
    r1572 r1573  
    33923392#endif /* INCL_DOSEXCEPTIONS */
    33933393
     3394/* -------------------------- 16-BIT SIGNALS ------------------------------ */
     3395
     3396#if defined (INCL_DOSSIGNALS)
     3397
     3398#define SIG_CTRLC               1
     3399#define SIG_BROKENPIPE          2
     3400#define SIG_KILLPROCESS         3
     3401#define SIG_CTRLBREAK           4
     3402#define SIG_PFLG_A              5
     3403#define SIG_PFLG_B              6
     3404#define SIG_PFLG_C              7
     3405#define SIG_CSIGNALS            8
     3406
     3407#define SIGA_KILL               0
     3408#define SIGA_IGNORE             1
     3409#define SIGA_ACCEPT             2
     3410#define SIGA_ERROR              3
     3411#define SIGA_ACKNOWLEDGE        4
     3412
     3413#define PFLG_A                  0
     3414#define PFLG_B                  1
     3415#define PFLG_C                  2
     3416
     3417#define HLDSIG_ENABLE           0
     3418#define HLDSIG_DISABLE          1
     3419
     3420#define FLGP_SUBTREE            0
     3421#define FLGP_PID                1
     3422
     3423typedef VOID (/* far 16-bit pascal */ *PFNSIGHANDLER)(USHORT, USHORT);
     3424
     3425USHORT APIENTRY DosSetSigHandler (PFNSIGHANDLER pfnSigHandler, PFNSIGHANDLER *pfpfnPrev, PUSHORT pfAction, USHORT fusAction, USHORT usSigNum);
     3426USHORT APIENTRY DosFlagProcess (PID pid, USHORT fusScope, USHORT usFlagNum, USHORT usFlagArg);
     3427USHORT APIENTRY DosHoldSignal (USHORT fusDisable);
     3428USHORT APIENTRY DosSendSignal (USHORT idProcess, USHORT usSigNumber);
     3429
     3430#endif /* INCL_DOSSIGNALS */
     3431
     3432
    33943433/* --------------------------- INFORMATION -------------------------------- */
    33953434
Note: See TracChangeset for help on using the changeset viewer.