#ifndef __UTIME_LOADED #define __UTIME_LOADED 1 /*************************************************************************** ** ** - utimbuf structure and utime function ** **************************************************************************** ** Header introduced by the ISO POSIX-1 Standard **************************************************************************** ** ** ** HPE CONFIDENTIAL. This software is confidential proprietary software ** ** licensed by Hewlett Packard Enterprise Development, LP, and is not ** ** authorized to be used, duplicated or disclosed to anyone without the ** ** prior written permission of HPE. ** ** Copyright 2003 Hewlett Packard Enterprise Development, LP ** ** ** ** VMS SOFTWARE, INC. CONFIDENTIAL. This software is confidential ** ** proprietary software licensed by VMS Software, Inc., and is not ** ** authorized to be used, duplicated or disclosed to anyone without ** ** the prior written permission of VMS Software, Inc. ** ** Copyright 2022 VMS Software, Inc. ** ** ** ***************************************************************************/ #pragma __nostandard #include #ifdef __cplusplus extern "C" { #endif #ifndef __TIME_T # define __TIME_T #ifdef __NAMESPACE_STD namespace std { #endif typedef __time_t time_t; #ifdef __NAMESPACE_STD } /* namespace std */ using std::time_t; #endif #endif struct utimbuf { __time_t actime; /* access time */ __time_t modtime; /* modification time */ }; /* ** If the user has used /pointer_size=short or /pointer_size=long, ** we will allow long pointers to be used in function calls. */ #if __INITIAL_POINTER_SIZE # pragma __pointer_size __save # pragma __pointer_size 64 #endif #if __CRTL_VER >= 70300000 # if !defined _VMS_V6_SOURCE # ifdef __CAN_USE_EXTERN_PREFIX # pragma __extern_prefix __save # pragma __extern_prefix "__utc_" # else # if defined(__clang__) # define utime __utc_utime # else # define utime(__p1,__p2) __utc_utime(__p1,__p2) # endif # endif # endif int utime(const char *__path, const struct utimbuf *__times); # if !defined _VMS_V6_SOURCE # ifdef __CAN_USE_EXTERN_PREFIX # pragma __extern_prefix __restore # endif # endif #endif /* ** Restore the users pointer context */ #if __INITIAL_POINTER_SIZE # pragma __pointer_size __restore #endif #ifdef __cplusplus } #endif #pragma __standard #endif /* __UTIME_LOADED */