/********************************************************************************************************************************/ /* Created: 9-Mar-2021 22:28:06 by OpenVMS SDL EV3-3 */ /* Source: 09-MAR-2021 22:28:01 $1$DGA8085:[STARLET_H.SRC]STARDEFMP.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $POSIX_SERVICEDEF ***/ #ifndef __POSIX_SERVICEDEF_LOADED #define __POSIX_SERVICEDEF_LOADED 1 #pragma __nostandard /* This file uses non-ANSI-Standard features */ #pragma __member_alignment __save #pragma __nomember_alignment #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __save /* Save the previously-defined required ptr size */ #pragma __required_pointer_size __short /* And set ptr size default to 32-bit pointers */ #endif #ifdef __cplusplus extern "C" { #define __unknown_params ... #define __optional_params ... #else #define __unknown_params #define __optional_params ... #endif #ifndef __struct #if !defined(__VAXC) #define __struct struct #else #define __struct variant_struct #endif #endif #ifndef __union #if !defined(__VAXC) #define __union union #else #define __union variant_union #endif #endif /* The following definitions are passed in the ctrl parameter. */ #define POSIX$C_BLOCK_FORK 1 /* block fork execution */ #define POSIX$C_UNBLOCK_FORK 2 /* unblock fork execution */ #define POSIX$C_DISABLE_FORK 3 /* disable fork */ #define POSIX$C_SETUP_CALLBACK 4 /* setup image callback */ #define POSIX$C_SYSTEM_CALLBACK 5 /* setup system callback */ #define POSIX$C_PROCESS_CALLBACK 6 /* setup process permanent callback */ #define POSIX$C_CANCEL_CALLBACK 7 /* cancel a callback */ #define POSIX$C_CONTINUE 8 /* continue callbacks */ #define POSIX$C_TEST_CALLS 9 /* temporary value for testing */ #define POSIX$C_MAX_CNTRL 9 #define POSIX$K_MAX_CNTRL 9 /* */ /* The following definitions are for the 'when' mask. They define when */ /* callbacks are to be made. */ /* */ #define POSIX$V_CALL_BEFORE_COPY 0 #define POSIX$V_CALL_IN_CHILD 1 #define POSIX$V_CALL_AFTER_CHILD 2 #define POSIX$V_CALL_ON_FAILURE 3 #define POSIX$V_CALL_BEFORE_COPY_FAIL 4 #define POSIX$V_CALL_IN_CHILD_FAIL 5 #define POSIX$V_CALL_AFTER_CHILD_FAIL 6 #define POSIX$M_CALL_BEFORE_COPY 1 #define POSIX$M_CALL_IN_CHILD 2 #define POSIX$M_CALL_AFTER_CHILD 4 #define POSIX$M_CALL_ON_FAILURE 8 #define POSIX$M_CALL_BEFORE_COPY_FAIL 16 #define POSIX$M_CALL_IN_CHILD_FAIL 32 #define POSIX$M_CALL_AFTER_CHILD_FAIL 64 #pragma __member_alignment __restore #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __restore /* Restore the previously-defined required ptr size */ #endif #ifdef __cplusplus } #endif #pragma __standard #endif /* __POSIX_SERVICEDEF_LOADED */