filerec.inc 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. {
  2. $Id$
  3. This file is part of the Free Pascal run time library.
  4. Copyright (c) 1999-2000 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.1 2003-10-06 21:01:06 peter
  31. * moved classes unit to rtl
  32. Revision 1.3 2002/09/07 15:15:24 peter
  33. * old logs removed and tabs fixed
  34. }