diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2008-01-03 23:05:04 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2008-01-03 23:05:04 (GMT) |
commit | 1831bc1d133e5c37bc5823df49f9fad7ac628f6b (patch) | |
tree | 89f33cdf6bee5e8b3b374eb87b6753852513edc7 /src/H5FD.c | |
parent | 6237d44a08a2414f021ee93c1a2b529125618fb4 (diff) | |
download | hdf5-1831bc1d133e5c37bc5823df49f9fad7ac628f6b.zip hdf5-1831bc1d133e5c37bc5823df49f9fad7ac628f6b.tar.gz hdf5-1831bc1d133e5c37bc5823df49f9fad7ac628f6b.tar.bz2 |
[svn-r14372] Description:
Further cleanups & simplifications to prepare for next phase of work.
Tested on:
FreeBSD/32 6.2 (duty)
Mac OS X/32 10.5.1 (amazon)
Diffstat (limited to 'src/H5FD.c')
-rw-r--r-- | src/H5FD.c | 30 |
1 files changed, 30 insertions, 0 deletions
@@ -1806,6 +1806,36 @@ done: /*------------------------------------------------------------------------- + * Function: H5FD_get_maxaddr + * + * Purpose: Private version of H5FDget_eof() + * + * Return: Success: The maximum address allowed in the file. + * Failure: HADDR_UNDEF + * + * Programmer: Quincey Koziol + * Thursday, January 3, 2008 + * + *------------------------------------------------------------------------- + */ +haddr_t +H5FD_get_maxaddr(const H5FD_t *file) +{ + haddr_t ret_value; /* Return value */ + + FUNC_ENTER_NOAPI(H5FD_get_maxaddr, HADDR_UNDEF) + + HDassert(file); + + /* Set return value */ + ret_value = file->maxaddr; + +done: + FUNC_LEAVE_NOAPI(ret_value) +} /* end H5FD_get_maxaddr() */ + + +/*------------------------------------------------------------------------- * Function: H5FDread * * Purpose: Reads SIZE bytes from FILE beginning at address ADDR |