Back to index

tetex-bin  3.0
vms.h
Go to the documentation of this file.
00001 #ifdef VMS
00002 /* The replacement ftell and fseek functions in the vaxvms.c file dated 
00003  * [02-Apr-87] do not work properly under OpenVMS 1.5 on DEC Alpha, when
00004  * compiled using DEC C 1.3. However, the DEC supplied ftell and fseek 
00005  * functions work fine. They should also work for DEC C on a VAX.
00006  */ 
00007 #ifndef __DECC
00008 #define ftell vms_ftell
00009 #define fseek vms_fseek
00010 #endif /* __DECC */
00011 #define getchar vms_getchar
00012 #define getenv vms_getenv
00013 #define ungetc vms_ungetc
00014 #define getname vms_getname
00015 #define popen(pcmd, pmode)  fopen(pcmd, pmode)
00016 #define pclose(pstream) fclose(pstream)
00017 #endif /* VMS */