Salome HOME
Initialisation de la base KERNEL avec la version operationnelle de KERNEL_SRC issue...
[modules/kernel.git] / src / HDFPersist / HDFattrClose.c
1 #include "hdfi.h"
2
3 /*
4  * - Name: HDFattrClose
5  * - Description : close a HDF attribute
6  * - Parameters :
7  *     - id (IN)  : attribute ID
8  * - Result : 
9  *     - if success : 0 
10  *     - if failure : -1
11  */ 
12 hdf_err HDFattrClose(hdf_idt id)
13 {
14   hdf_err ret;
15
16   if ((ret = H5Aclose(id)) < 0)
17     return -1;
18
19   return 0;
20 }