>  Docs Center  >  Libraries  >  Markwardt  >  FXGCLOSE
Libraries

FXGCLOSE

FXGCLOSE

Name


  FXGCLOSE

Author


  Craig B. Markwardt, NASA/GSFC Code 662, Greenbelt, MD 20770
  craigm@lheamail.gsfc.nasa.gov
  UPDATED VERSIONs can be found on my WEB PAGE:
      http://cow.physics.wisc.edu/~craigm/idl/idl.html

Purpose


  Closes a generic resource

Major Topics


  File I/O, Pipes, URLs, FITS

Calling Sequence


  FXGCLOSE, UNIT

Description



  FXGCLOSE closes a generic resource originally opened by FXGOPEN.
  All associated system resources are freed.
  You must use the specialized 'FXG' style functions to read, write
  and seek on file units opened with FXGOPEN:
    FXGOPEN - open resource
    FXGCLOSE - close resource
    FXGREAD - read from resource
    FXGWRITE - write to resource
    FXGSEEK - seek on resource (i.e., perform POINT_LUN)
    FXGFILTERED - determine if resource is a normal file.

Inputs



  UNIT - the unit number of the currently open resource. The unit
          must have been previously opened by FXGOPEN.

Modification History


  Written, 1999, CM
  Documented, 02 Oct 1999, CM
  Changed copyright notice, 21 Sep 2000, CM



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us