File: vms.h

package info (click to toggle)
tetex-bin 2.0.2-30sarge5
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 50,108 kB
  • ctags: 38,418
  • sloc: ansic: 295,045; cpp: 54,320; sh: 25,684; perl: 8,806; makefile: 3,892; yacc: 2,235; pascal: 1,381; awk: 1,103; asm: 851; lex: 833; lisp: 527; sed: 518; csh: 47
file content (17 lines) | stat: -rw-r--r-- 595 bytes parent folder | download | duplicates (26)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifdef VMS
/* The replacement ftell and fseek functions in the vaxvms.c file dated 
 * [02-Apr-87] do not work properly under OpenVMS 1.5 on DEC Alpha, when
 * compiled using DEC C 1.3. However, the DEC supplied ftell and fseek 
 * functions work fine. They should also work for DEC C on a VAX.
 */ 
#ifndef __DECC
#define ftell vms_ftell
#define fseek vms_fseek
#endif /* __DECC */
#define getchar vms_getchar
#define getenv vms_getenv
#define ungetc vms_ungetc
#define getname vms_getname
#define popen(pcmd, pmode)  fopen(pcmd, pmode)
#define pclose(pstream) fclose(pstream)
#endif /* VMS */