2 * Various VMS-specific items.
6 * Emergency replacement for <utime.h> for VMS CRTL before V7.3.
8 * Emergency replacement for <pwd.h> for VMS CRTL before V7.0.
10 * Emergency substitution of stat() for lstat() for VAX and VMS CRTL
13 * Prototypes for VMS-specific functions:
15 * utime() (CRTL < V7.3)
25 #ifndef __VMS_H_INCLUDED
26 #define __VMS_H_INCLUDED
28 /* Emergency replacement for <utime.h> for VMS before V7.3. */
30 #if __CRTL_VER < 70300000
34 /* The "utimbuf" structure is used by "utime()". */
36 time_t actime; /* access time */
37 time_t modtime; /* modification time */
40 /* Function prototypes for utime(), */
42 int utime( const char *path, const struct utimbuf *times);
44 #else /* __CRTL_VER < 70300000 */
48 #endif /* __CRTL_VER < 70300000 */
51 /* Emergency substitution of stat() for lstat() for VAX and VMS CRTL
54 #if defined(__VAX) || __CRTL_VER < 70301000
56 #define lstat( __p1, __p2) stat( __p1, __p2)
58 #endif /* defined(__VAX) || __CRTL_VER < 70301000 */
63 /* VMS destination file system type. < 0: unset/unknown
71 /* Function prototypes. */
75 char *ods_conform( char *path);
77 int set_ods5_dest( char *path);
79 char *vms_arch( void);
81 char *vms_vers( void);
83 /* Emergency replacement for <pwd.h> (for VMS CRTL before V7.0). */
85 /* Declare "passwd" structure, if needed. */
103 struct passwd *getpwuid();
105 #endif /* HAVE_PWD_H */
107 #endif /* __VMS_H_INCLUDED */