nc_inq_vardimid

Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
extern (C)
int
nc_inq_vardimid
(
int ncid
,
int varid
,
int* dimidsp
)

Meta