diff options
Diffstat (limited to 'pkg/utilities/nttools/stxtools/sbuf.h')
-rw-r--r-- | pkg/utilities/nttools/stxtools/sbuf.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pkg/utilities/nttools/stxtools/sbuf.h b/pkg/utilities/nttools/stxtools/sbuf.h new file mode 100644 index 00000000..cda82d9b --- /dev/null +++ b/pkg/utilities/nttools/stxtools/sbuf.h @@ -0,0 +1,15 @@ +#--------------------------------------------------------------------------- +.help sbuf.h Feb93 source +.ih +NAME +sbuf.h -- Memory structure for long strings. +.endhelp +#--------------------------------------------------------------------------- +define SB_LEN Memi[$1] # Current length of string. +define SB_MAXLEN Memi[$1+1] # Current maximum size of buffer. +define SB_PTR Memi[$1+2] # Pointer to the string array. +define SB_BUF Memc[SB_PTR($1)+$2] +define SB_SZ_SB 3 # Size of memory structure. +#--------------------------------------------------------------------------- +# End of sbuf.h +#--------------------------------------------------------------------------- |