OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
hio_close.c
Go to the documentation of this file.
1 #include "hio.h"
2 
3 int32_t hio_close(hio_struct info)
4 /*******************************************************************
5 
6  hio_close
7 
8  purpose: close the hdf dataset
9 
10  Returns type: int 0 if OK
11 
12  Parameters: (in calling order)
13  Type Name I/O Description
14  ---- ---- --- -----------
15  struct hio_struct info I information struct
16  about the opened file
17 
18  Modification history:
19  Programmer Date Description of change
20  ---------- ---- ---------------------
21  W. Robinson 30-Sep-2005 from l1io_close
22 
23  *******************************************************************/
24  {
25  int iret;
26  /*
27  * just close the file up
28  */
29  iret = Hclose(info.fid);
30  if (iret == 0)
31  iret = SDend(info.sdfid);
32  return iret;
33 }
int32_t hio_close(hio_struct info)
Definition: hio_close.c:3