filerec.inc 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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.7 2000-01-07 16:41:34 daniel
  31. * copyright 2000
  32. Revision 1.6 2000/01/07 16:32:24 daniel
  33. * copyright 2000 added
  34. Revision 1.5 1998/09/14 10:48:15 peter
  35. * FPC_ names
  36. * Heap manager is now system independent
  37. Revision 1.4 1998/09/04 18:16:13 peter
  38. * uniform filerec/textrec (with recsize:longint and name:0..255)
  39. Revision 1.3 1998/05/21 11:55:59 carl
  40. * works with all OS
  41. }