Communicator e3000 MPE/iX Release 6.5 (Non-Platform Software Release C.65.00 (30216-90291)

40 Chapter3
Growth Solution
MPE/iX Large Files Overview
AIFFILEGPUT 5017 5101
These items allow the EOF of a file to be set
to a specified byte offset. Item 5017 allows
the caller to specify a 32-bit unsigned
integer for the new EOF offset. Due to the
size of this value, it is not possible to use this
item to set an EOF beyond 4GB in any file.
Item 5101 allows the caller to specify a
64-bit integer which can be used to set the
EOF to any offset in any file, providing that
the EOF offset is within the file limit of the
specified file.
AIFFILEGGET 5018 5102
These items return the byte offset of the file
limit of a file, or the maximum size that the
file can possibly grow to. Item 5018 returns
this value in a 32-bit unsigned integer and
returns an error if called against a Large
File. Item 5102 returns this information in a
64-bit integer and can be safely used with all
file sizes.
AIFFILEGGET 5048 5103
These items return the number of sectors of
disk space that currently are allocated to a
given file. Item number 5048 returns this
value in a signed 32-bit integer and returns
an error for a Large File, if that Large File
has more than 512GB of disk space allocated
to it. Item 5103 returns this sector count in a
64-bit integer and reliably works on files of
any size.
AIF Function Item # New Item # Description