You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the passed xar_t was opened WRITE, xar_close() will serialize the xarchive, writing the archive out to the filename specified when the xar_t handle was opened. Then all memory associated with the xar_t handle will be freed, and any associated file descriptors will be closed.
If the passed xar_t was opened READ, xar_close will free all memory associated with the xar_t handle and close any associated file descriptors.
xar_close() should be called whenever a xar_t is no longer needed.