systypes.inc 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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.2 2004-01-22 13:55:02 marco
  35. * first port that shows some life based on FPC_USE_LIBC
  36. Revision 1.4 2004/01/04 01:11:28 marco
  37. * a new qod port of the freebsd rtl. To be refined in the coming days.
  38. Revision 1.3 2003/01/21 15:39:45 marco
  39. * NetBSD first rtl. Still not 100%, but close
  40. Revision 1.2 2003/01/17 22:13:47 marco
  41. * some updates
  42. Revision 1.1.2.2 2001/08/30 23:00:18 marco
  43. * Fix for stat record.
  44. Revision 1.1.2.1 2001/08/10 11:07:17 pierre
  45. New NetBSD files taken and adapted from FreeBSD
  46. Revision 1.1.2.5 2001/03/12 15:01:39 marco
  47. * [Solaris] introduced dev_t
  48. Revision 1.1.2.4 2001/01/20 16:54:51 marco
  49. * Fixed timeval. Must have thought that long=int64 when I did initial port?
  50. Revision 1.1.2.3 2000/10/30 14:36:07 marco
  51. * timespec from int64 to longint.
  52. Revision 1.1.2.2 2000/10/24 12:14:37 pierre
  53. + timespec type for syscall_nr_nanosleep
  54. Revision 1.1.2.1 2000/09/16 11:19:08 marco
  55. * Moved files from BSD to FreeBSD directory, with some small changes
  56. Revision 1.1.2.1 2000/09/10 16:12:14 marco
  57. Initial signals, sockets and clone
  58. Revision 1.1 2000/07/13 06:30:33 michael
  59. + Initial import
  60. Revision 1.8 2000/04/16 16:08:30 marco
  61. * Updated PDir to BSD libc layout. (which is totally different from Linux)
  62. Revision 1.7 2000/04/10 15:46:52 marco
  63. * worked all day. probably a lot changed
  64. Revision 1.5 2000/03/17 12:58:57 marco
  65. * some changes to ftruncate based procs. Added a "0" as extra parameter
  66. Revision 1.4 2000/02/04 16:55:47 marco
  67. * Fixed tdir, some params need to be 32-bit
  68. Revision 1.3 2000/02/03 17:05:55 marco
  69. * Some types fixed/ported.
  70. Revision 1.2 2000/02/02 16:45:38 marco
  71. * Typo in STAT record
  72. Revision 1.1 2000/02/02 16:36:09 marco
  73. * Initial version. Copy of linux version, with BSD stat.
  74. }