summaryrefslogtreecommitdiffstats
path: root/src/H5L.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-11-01 22:19:04 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-11-01 22:19:04 (GMT)
commit522e714273faf7e8b1bbd0510a2a921ad6276ab3 (patch)
treec6773b372577a1c34e0803f7b27ec45a8fd0551e /src/H5L.c
parent579bb243077efc82e86d0723b2adec5abd6f1e4d (diff)
downloadhdf5-522e714273faf7e8b1bbd0510a2a921ad6276ab3.zip
hdf5-522e714273faf7e8b1bbd0510a2a921ad6276ab3.tar.gz
hdf5-522e714273faf7e8b1bbd0510a2a921ad6276ab3.tar.bz2
[svn-r14234] Description:
Add H5Aexists and H5Aexists_by_name API routines, to match H5Lexists. Tested on: FreeBSD/32 6.2 (duty) in debug mode FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Mac OS X/32 10.4.10 (amazon) in debug mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
Diffstat (limited to 'src/H5L.c')
-rw-r--r--src/H5L.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5L.c b/src/H5L.c
index d8fb0eb..78a78f2 100644
--- a/src/H5L.c
+++ b/src/H5L.c
@@ -794,14 +794,14 @@ done:
*
*-------------------------------------------------------------------------
*/
-herr_t
+htri_t
H5Lexists(hid_t loc_id, const char *name, hid_t lapl_id)
{
H5G_loc_t loc;
- herr_t ret_value = SUCCEED;
+ htri_t ret_value;
FUNC_ENTER_API(H5Lexists, FAIL)
- H5TRACE3("e", "i*si", loc_id, name, lapl_id);
+ H5TRACE3("t", "i*si", loc_id, name, lapl_id);
/* Check arguments */
if(H5G_loc(loc_id, &loc))