[svn-r7560] Purpose:
Add feature
Description:
Add H5Fget_freespace() routine, to check the amount of free space in a
file. This information is only valid until the file is closed currently,
however (until we start recording the free space information in the file
itself).
Platforms tested:
FreeBSD 4.9 (sleipnir)
h5committest
This commit is contained in:
@@ -338,6 +338,28 @@ FORTRAN File API -- h5f
|
||||
</pre>
|
||||
|
||||
|
||||
<p>
|
||||
<p>
|
||||
<hr>
|
||||
<p>
|
||||
<a name="h5fget_freespace_f">
|
||||
<p>
|
||||
</a>
|
||||
|
||||
|
||||
<dt><strong>FORTRAN interface:</strong>   <strong>h5fget_freespace_f</strong>
|
||||
<pre>
|
||||
SUBROUTINE h5fget_freespace_f(file_id, free_space, hdferr)
|
||||
|
||||
IMPLICIT NONE
|
||||
INTEGER(HID_T), INTENT(IN) :: file_id ! File identifier
|
||||
INTEGER(HSSIZE_T), INTENT(OUT) :: free_space ! amount of free space in file
|
||||
INTEGER, INTENT(OUT) :: hdferr ! Error code
|
||||
! 0 on success and -1 on failure
|
||||
END SUBROUTINE h5fget_freespace_f
|
||||
</pre>
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user