]> SALOME platform Git repositories - modules/kernel.git/blob - src/HDFPersist/HDFgroupCreate.c
Salome HOME
This commit was generated by cvs2git to track changes on a CVS vendor
[modules/kernel.git] / src / HDFPersist / HDFgroupCreate.c
1 #include "hdfi.h"
2
3 /*
4  * - Name : HDFgroupCreate
5  * - Description : create a HDF group 
6  * - Parameters :
7  *     - pid     (IN)    : father ID
8  *     - name    (IN)    : group name
9  * - Result : 
10  *     - if success : returns group ID
11  *     - if failure : returns -1 
12  */
13
14 hdf_idt
15 HDFgroupCreate(hdf_idt pid, char *name)
16 {
17   hdf_idt id;
18
19   if ((id = H5Gcreate(pid,name,0)) < 0)
20     return -1;
21
22   return id;
23 }