systypes.inc 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. {
  2. $Id$
  3. This file is part of the Free Pascal run time library.
  4. Copyright (c) 1999-2000 by Michael Van Canneyt,
  5. member of the Free Pascal development team.
  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. type
  13. TStatfs = packed record
  14. spare2, { place holder}
  15. bsize, { fundamental block size}
  16. iosize, { optimal block size }
  17. blocks, { total blocks}
  18. bfree, { blocks free}
  19. bavail, { block available for mortal users}
  20. files, { Total file nodes}
  21. ffree : longint; { file nodes free}
  22. fsid : array[0..1] of longint;
  23. fowner : longint; {mounter uid}
  24. ftype : longint;
  25. fflags : longint; {copy of mount flags}
  26. spare : array [0..1] of longint; { For later use }
  27. fstypename : array[0..15] of char;
  28. mountpoint : array[0..89] of char;
  29. mnfromname : array[0..89] of char;
  30. end;
  31. PStatFS=^TStatFS;
  32. {
  33. $Log$
  34. Revision 1.4 2004-01-04 01:11:28 marco
  35. * a new qod port of the freebsd rtl. To be refined in the coming days.
  36. Revision 1.3 2003/01/21 15:39:45 marco
  37. * NetBSD first rtl. Still not 100%, but close
  38. Revision 1.2 2003/01/17 22:13:47 marco
  39. * some updates
  40. Revision 1.1.2.2 2001/08/30 23:00:18 marco
  41. * Fix for stat record.
  42. Revision 1.1.2.1 2001/08/10 11:07:17 pierre
  43. New NetBSD files taken and adapted from FreeBSD
  44. Revision 1.1.2.5 2001/03/12 15:01:39 marco
  45. * [Solaris] introduced dev_t
  46. Revision 1.1.2.4 2001/01/20 16:54:51 marco
  47. * Fixed timeval. Must have thought that long=int64 when I did initial port?
  48. Revision 1.1.2.3 2000/10/30 14:36:07 marco
  49. * timespec from int64 to longint.
  50. Revision 1.1.2.2 2000/10/24 12:14:37 pierre
  51. + timespec type for syscall_nr_nanosleep
  52. Revision 1.1.2.1 2000/09/16 11:19:08 marco
  53. * Moved files from BSD to FreeBSD directory, with some small changes
  54. Revision 1.1.2.1 2000/09/10 16:12:14 marco
  55. Initial signals, sockets and clone
  56. Revision 1.1 2000/07/13 06:30:33 michael
  57. + Initial import
  58. Revision 1.8 2000/04/16 16:08:30 marco
  59. * Updated PDir to BSD libc layout. (which is totally different from Linux)
  60. Revision 1.7 2000/04/10 15:46:52 marco
  61. * worked all day. probably a lot changed
  62. Revision 1.5 2000/03/17 12:58:57 marco
  63. * some changes to ftruncate based procs. Added a "0" as extra parameter
  64. Revision 1.4 2000/02/04 16:55:47 marco
  65. * Fixed tdir, some params need to be 32-bit
  66. Revision 1.3 2000/02/03 17:05:55 marco
  67. * Some types fixed/ported.
  68. Revision 1.2 2000/02/02 16:45:38 marco
  69. * Typo in STAT record
  70. Revision 1.1 2000/02/02 16:36:09 marco
  71. * Initial version. Copy of linux version, with BSD stat.
  72. }