Next: nc_inq_grpname_len, Previous: nc_inq_grpname, Up: Groups
Given ncid, find complete name of group. (Root group is named "/", a full "path" for each group is provided in the name, with groups separated with a forward slash / as in Unix directory names. For example "/group1/subgrp1/subsubgrp1")
int nc_inq_grpname_full(int ncid, size_t *lenp, char *full_name);
ncidlenpfull_nameNC_NOERRNC_EBADIDNC_ENOTNC4NC_ESTRICTNC3NC_EHDFERRThis example is from the test program libsrc4/tst_grps.c.
int grpid_in[MAX_SIBLING_GROUPS];
char full_name_in[NC_MAX_NAME * 10];
size_t len;
...
if (nc_inq_grpname_full(grpid_in[0], &len, full_name_in)) ERR;