/********************************************************************************************************************************/ /* Created: 9-Mar-2021 22:28:06 by OpenVMS SDL EV3-3 */ /* Source: 09-MAR-2021 22:28:01 $1$DGA8085:[STARLET_H.SRC]STARDEFQZ.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $SSIODEF ***/ #ifndef __SSIODEF_LOADED #define __SSIODEF_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 /*+ */ /* File access modes for open and create */ /*- */ #define SSIO$M_O_RDONLY 0 /* Read-only */ #define SSIO$M_O_WRONLY 1 /* Write-only */ #define SSIO$M_O_RDWR 2 /* Read and write */ #define SSIO$M_O_ACCMODE 3 /* Mask for access mode field */ /*+ */ /* File status flags for open, create, and setfl (fcntl) */ /*- */ #define SSIO$M_O_APPEND 8 /* All writes append to EOF */ /*+ */ /* File open and create options */ /*- */ #define SSIO$M_O_CREAT 512 /* Create file if it does not exist */ #define SSIO$M_O_TRUNC 1024 /* Truncate file */ #define SSIO$M_O_EXCL 2048 /* If O_CREAT and O_EXCL both set, open fails if file exists */ #define SSIO$M_O_NOCTTY 4096 /* If TTY dev, not to be controlling TTY for process */ /*+ */ /* Positioning (lseek) options */ /*- */ #define SSIO$C_SEEK_SET 0 /* Set offset to value provided */ #define SSIO$C_SEEK_CUR 1 /* Offset relative to current position */ #define SSIO$C_SEEK_END 2 /* Offset relative to current EOF */ /*+ */ /* Other miscellaneous values */ /*- */ #define SSIO$C_SSIZE_MAX 2147483647 /* Largest read/write size (in bytes) permitted */ #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 /* __SSIODEF_LOADED */