[Overview][Constants][Types][Procedures and functions][Variables] Reference for unit 'Dos' (#rtl)

TextRec

Record describing Text files

Declaration

Source position: textrec.inc line 29

type TextRec = packed record

  Handle: THandle;

  Mode: LongInt;

  bufsize: SizeInt;

  _private: SizeInt;

  bufpos: SizeInt;

  bufend: SizeInt;

  bufptr: ;

  openfunc: pointer;

  inoutfunc: pointer;

  flushfunc: pointer;

  closefunc: pointer;

  UserData: array [1..32] of Byte;

  name: array [0..textrecnamelength-1] of Char;

  LineEnd: TLineEndStr;

  buffer: TextBuf;

end;

Description

TextRec describes the internal working of a Text file.

Remark that this is not binary compatible with the Turbo Pascal definition of TextRec, since the sizes of the different fields are different.