diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
commit | fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch) | |
tree | bdda434976bc09c864f2e4fa6f16ba1952b1e555 /sys/symtab/strefsbuf.x | |
download | iraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz |
Initial commit
Diffstat (limited to 'sys/symtab/strefsbuf.x')
-rw-r--r-- | sys/symtab/strefsbuf.x | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sys/symtab/strefsbuf.x b/sys/symtab/strefsbuf.x new file mode 100644 index 00000000..d0be6437 --- /dev/null +++ b/sys/symtab/strefsbuf.x @@ -0,0 +1,14 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + +include "symtab.h" + +# STREFSBUF -- Convert an offset into SBUF into a pointer to char. + +pointer procedure strefsbuf (stp, offset) + +pointer stp # symtab descriptor +int offset # offset into SBUF + +begin + return (ST_SBUFP(stp) + offset) +end |