!*** MODULE $POSIX_SERVICEDEF *** !DEC$ OPTIONS/ALIGN=(RECORDS=PACKED,COMMONS=PACKED)/NOWARN ! The following definitions are passed in the ctrl parameter. PARAMETER POSIX$C_BLOCK_FORK = '00000001'X ! block fork execution PARAMETER POSIX$C_UNBLOCK_FORK = '00000002'X ! unblock fork execution PARAMETER POSIX$C_DISABLE_FORK = '00000003'X ! disable fork PARAMETER POSIX$C_SETUP_CALLBACK = '00000004'X ! setup image callback PARAMETER POSIX$C_SYSTEM_CALLBACK = '00000005'X ! setup system callback PARAMETER POSIX$C_PROCESS_CALLBACK = '00000006'X ! setup process permanent callback PARAMETER POSIX$C_CANCEL_CALLBACK = '00000007'X ! cancel a callback PARAMETER POSIX$C_CONTINUE = '00000008'X ! continue callbacks PARAMETER POSIX$C_TEST_CALLS = '00000009'X ! temporary value for testing PARAMETER POSIX$C_MAX_CNTRL = '00000009'X PARAMETER POSIX$K_MAX_CNTRL = '00000009'X ! ! The following definitions are for the 'when' mask. They define when ! callbacks are to be made. ! PARAMETER POSIX$V_CALL_BEFORE_COPY = '00000000'X PARAMETER POSIX$V_CALL_IN_CHILD = '00000001'X PARAMETER POSIX$V_CALL_AFTER_CHILD = '00000002'X PARAMETER POSIX$V_CALL_ON_FAILURE = '00000003'X PARAMETER POSIX$V_CALL_BEFORE_COPY_FAIL = '00000004'X PARAMETER POSIX$V_CALL_IN_CHILD_FAIL = '00000005'X PARAMETER POSIX$V_CALL_AFTER_CHILD_FAIL = '00000006'X PARAMETER POSIX$M_CALL_BEFORE_COPY = '00000001'X PARAMETER POSIX$M_CALL_IN_CHILD = '00000002'X PARAMETER POSIX$M_CALL_AFTER_CHILD = '00000004'X PARAMETER POSIX$M_CALL_ON_FAILURE = '00000008'X PARAMETER POSIX$M_CALL_BEFORE_COPY_FAIL = '00000010'X PARAMETER POSIX$M_CALL_IN_CHILD_FAIL = '00000020'X PARAMETER POSIX$M_CALL_AFTER_CHILD_FAIL = '00000040'X !DEC$ END OPTIONS