Input / Ouput
Name of the link node to create, e.g.,
Name of the linked file, or empty string if the link is within the same file.
Path name of the node which the link points to. This can be a simple or a compound name, e.g.,
Length of the path name of the linked node. The value 0 is returned if the node is not a link.
Path name of the node which the link points to.
cg_goto(_f) to position to a location in the file prior to calling these routines.
cg_link_write, the node being linked to does not have to exist when the link is created. However, when the link is used, an error will occur if the linked-to node does not exist.
Only nodes that support child nodes will support links.
It is assumed that the CGNS version for the file containing the link, as determined by the
CGNSLibraryVersion_t node, is also applicable to
filename, the file containing the linked node.
Memory is allocated by the library for the return values of the C function
cg_link_read. This memory should be freed by the user when no longer needed by calling