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)
26 #ifndef __VMS_H_INCLUDED
27 #define __VMS_H_INCLUDED
29 /* Emergency replacement for <utime.h> for VMS before V7.3. */
31 #if __CRTL_VER < 70300000
35 /* The "utimbuf" structure is used by "utime()". */
37 time_t actime; /* access time */
38 time_t modtime; /* modification time */
41 /* Function prototypes for utime(), */
43 int utime( const char *path, const struct utimbuf *times);
45 #else /* __CRTL_VER < 70300000 */
49 #endif /* __CRTL_VER < 70300000 */
52 /* Emergency substitution of stat() for lstat() for VAX and VMS CRTL
55 #if defined(__VAX) || __CRTL_VER < 70301000
57 #define lstat( __p1, __p2) stat( __p1, __p2)
59 #endif /* defined(__VAX) || __CRTL_VER < 70301000 */
64 /* VMS destination file system type. < 0: unset/unknown
72 /* Function prototypes. */
76 char *ods_conform( char *path);
78 int set_ods5_dest( char *path);
80 char *vms_arch( void);
82 char *vms_basename( char *file_spec);
84 char *vms_vers( void);
86 /* Emergency replacement for <pwd.h> (for VMS CRTL before V7.0). */
88 /* Declare "passwd" structure, if needed. */
106 struct passwd *getpwuid();
108 #endif /* HAVE_PWD_H */
110 #endif /* __VMS_H_INCLUDED */