source: LMDZ6/branches/contrails/tools/netcdf95/Groups/inq_numgrps.c.old @ 5440

Last change on this file since 5440 was 4918, checked in by Laurent Fairhead, 8 months ago

Reintegrated NetCDF95 in LMDZ so that it is compiled and made available by the makelmdz_fcm script.
The makelmdz_fcm creates the libnetcdf95 library and copies it in the tools/netcdf/lib directory, copying
the mod files in the tools/netcdf/include library.

File size: 394 bytes
Line 
1#include <stddef.h>
2#include "netcdf.h"
3
4/**
5 * Get the number of groups.
6 *
7 * @param ncid The ncid of the open file.
8 * @param numgrps Pointer that gets the number of groups. Ignored if
9 * NULL.
10 *
11 * @return ::NC_NOERR No error.
12 * @return ::NC_ENOMEM Out of memory.
13 * @author Richard Weed
14 */
15extern int
16inq_numgrps(int ncid, int *numgrps)
17{
18    return nc_inq_grps(ncid, numgrps, NULL);
19}
Note: See TracBrowser for help on using the repository browser.