filerec.inc 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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 : THandle;
  22. Mode : longint;
  23. RecSize : SizeInt;
  24. _private : array[1..3 * SizeOf(SizeInt) + 5 * SizeOf (pointer)] of byte;
  25. UserData : array[1..16] of byte;
  26. name : array[0..filerecnamelength] of char;
  27. End;
  28. {
  29. $Log$
  30. Revision 1.6 2004-09-21 23:36:51 hajny
  31. * SetTextLineEnding implemented, FileRec.Name position alignment for CPU64
  32. Revision 1.5 2004/02/05 01:16:12 florian
  33. + completed x86-64/linux system unit
  34. Revision 1.4 2003/11/03 09:42:27 marco
  35. * Peter's Cardinal<->Longint fixes patch
  36. Revision 1.3 2002/09/07 15:07:45 peter
  37. * old logs removed and tabs fixed
  38. }