filerec.inc 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. {
  2. $Id$
  3. This file is part of the Free Pascal run time library.
  4. Copyright (c) 1993,97 by the Free Pascal development team
  5. FileRec record definition
  6. See the file COPYING.FPC, included in this distribution,
  7. for details about the copyright.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  11. **********************************************************************}
  12. {
  13. This file contains the definition of the filerec record.
  14. It is put separately, so it is available outside the system
  15. unit without sacrificing TP compatibility.
  16. }
  17. const
  18. filerecnamelength = 255;
  19. type
  20. FileRec = Packed Record
  21. Handle,
  22. Mode,
  23. RecSize : longint;
  24. _private : array[1..32] of byte;
  25. UserData : array[1..16] of byte;
  26. name : array[0..filerecnamelength] of char;
  27. End;
  28. {
  29. $Log$
  30. Revision 1.5 1998-09-14 10:48:15 peter
  31. * FPC_ names
  32. * Heap manager is now system independent
  33. Revision 1.4 1998/09/04 18:16:13 peter
  34. * uniform filerec/textrec (with recsize:longint and name:0..255)
  35. Revision 1.3 1998/05/21 11:55:59 carl
  36. * works with all OS
  37. }