projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
date and time created 83/02/11 15:45:08 by rrh
[unix-history]
/
usr
/
src
/
usr.bin
/
pascal
/
libpc
/
h00vars.h
diff --git
a/usr/src/usr.bin/pascal/libpc/h00vars.h
b/usr/src/usr.bin/pascal/libpc/h00vars.h
index
a7afb14
..
6eb95a6
100644
(file)
--- a/
usr/src/usr.bin/pascal/libpc/h00vars.h
+++ b/
usr/src/usr.bin/pascal/libpc/h00vars.h
@@
-1,6
+1,6
@@
/* Copyright (c) 1979 Regents of the University of California */
/* Copyright (c) 1979 Regents of the University of California */
-/* sccsid[] = "@(#)h00vars.h 1.
8
%G%"; */
+/* sccsid[] = "@(#)h00vars.h 1.
10
%G%"; */
#include <stdio.h>
#include "whoami.h"
#include <stdio.h>
#include "whoami.h"
@@
-18,13
+18,14
@@
#define NAMSIZ 76
#define MAXFILES 32
#define PREDEF 2
#define NAMSIZ 76
#define MAXFILES 32
#define PREDEF 2
-#ifdef
VAX
+#ifdef
ADDR32
#define STDLVL ((struct iorec *)(0x7ffffff1))
#define GLVL ((struct iorec *)(0x7ffffff0))
#define STDLVL ((struct iorec *)(0x7ffffff1))
#define GLVL ((struct iorec *)(0x7ffffff0))
-#else
+#endif ADDR32
+#ifdef ADDR16
#define STDLVL ((struct iorec *)(0xfff1))
#define GLVL ((struct iorec *)(0xfff0))
#define STDLVL ((struct iorec *)(0xfff1))
#define GLVL ((struct iorec *)(0xfff0))
-#endif
VAX
+#endif
ADDR16
#define FILNIL ((struct iorec *)(0))
#define INPUT ((struct iorec *)(&input))
#define OUTPUT ((struct iorec *)(&output))
#define FILNIL ((struct iorec *)(0))
#define INPUT ((struct iorec *)(&input))
#define OUTPUT ((struct iorec *)(&output))
@@
-127,3
+128,10
@@
extern long _filefre; /* last used entry in _actfile */
extern struct iorechd input;
extern struct iorechd output;
extern struct iorechd _err;
extern struct iorechd input;
extern struct iorechd output;
extern struct iorechd _err;
+
+/*
+ * seek pointer struct for TELL, SEEK extensions
+ */
+struct seekptr {
+ long cnt;
+};