NAME
          irClose - close a voice file

     SYNOPSIS
          #include <irapi.h>

          int irClose (vf_descriptor vfd);

     DESCRIPTION
          The irClose function closes the voice file associated with a
          voice file descriptor (vfd).  It is legal, but not required,
          to close a voice file after issuing an irEnd(3IRAPI) associ-
          ated with an irPlay(3IRAPI) or irRecord(3IRAPI).

     EVENT
          No event results from the call to irClose.

     RETURN VALUE
          IRR_OK is returned if irClose is successful.  IRR_FAIL is
          returned if the vfd is not a valid voice file descriptor.

     ERROR
          irError is set to IRER_INVALID if the vfd is not a valid
          voice file descriptor.

     SEE ALSO
          irLSeek(3IRAPI), irOpen(3IRAPI)

     VERSION
          This is version 8/31/00 of this man page.