[F90:]subroutine gRetrieveSegs(unit) integer, intent(in) :: unit
Arguments
fp
GINO-C file pointer to restore Software Display File from
unit
Fortran 90 file unit to restore Software Display File from
Description
The routine gRetrieveSegs() restores the complete contents of an archived Software Display File.
The archived Display File must be created with gArchiveSegs() and should be opened prior to calling this routine using the function gFopen(), with the file pointer or unit number passed as appropriate.
The display file is copied into memory or file depending on whether gDefineSegWorkspace() has been called. If gDefineSegWorkspace() has been called but the restored file does not fit into the allocated space an error message is generated and no action is taken.
The successful action of restoring a display file removes all currently stored segments.