|
@@ -143,6 +143,27 @@ type
|
|
val: array[0..1] of cint32;
|
|
val: array[0..1] of cint32;
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
+{$ifdef cpuarm}
|
|
|
|
+ { structure used on iPhoneOS and available on Mac OS X 10.6 and later }
|
|
|
|
+ tstatfs = record
|
|
|
|
+ bsize : cuint32;
|
|
|
|
+ iosize : cint32;
|
|
|
|
+ blocks : cuint64;
|
|
|
|
+ bfree : cuint64;
|
|
|
|
+ bavail : cuint64;
|
|
|
|
+ files : cuint64;
|
|
|
|
+ ffree : cuint64;
|
|
|
|
+ fsid : fsid_t;
|
|
|
|
+ owner : uid_t;
|
|
|
|
+ ftype : cuint32;
|
|
|
|
+ fflags : cuint32;
|
|
|
|
+ fssubtype : cuint32;
|
|
|
|
+ fstypename : array[0..(MFSNAMELEN)-1] of char;
|
|
|
|
+ mountpoint : array[0..(PATH_MAX)-1] of char;
|
|
|
|
+ mntfromname : array[0..(PATH_MAX)-1] of char;
|
|
|
|
+ reserved: array[0..7] of cuint32;
|
|
|
|
+ end;
|
|
|
|
+{$else}
|
|
tstatfs = record
|
|
tstatfs = record
|
|
otype : cint16;
|
|
otype : cint16;
|
|
oflags : cint16;
|
|
oflags : cint16;
|
|
@@ -165,6 +186,7 @@ type
|
|
f_reserved3: char;
|
|
f_reserved3: char;
|
|
reserved4: array[0..3] of clong;
|
|
reserved4: array[0..3] of clong;
|
|
end;
|
|
end;
|
|
|
|
+{$endif}
|
|
pstatfs = ^tstatfs;
|
|
pstatfs = ^tstatfs;
|
|
|
|
|
|
mbstate_t = record
|
|
mbstate_t = record
|