Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

vi50_open(3)

vi50_ioctl(3)

xvi50(7)



  vi50_close(3)                       CLIX                       vi50_close(3)



  NAME

    vi50_close - Closes a VI50 channel

  LIBRARY

    Intergraph Device Library (libix.a)

  SYNOPSIS

    #include <sys/xio/xerr.h>

    int vi50_close(
      int channel );

  PARAMETERS

    channel
           Specifies the VI50 channel to close.

  DESCRIPTION

    The vi50_close() function terminates all requests pending on the specified
    VI50 channel and closes it if the requesting process is the owner of the
    channel.  If the requesting process is a child of the owner, who has been
    granted access to channel, all pending requests for the child are
    terminated, and access for the child is removed.  Any space that was
    mapped by the user, with the vi50_map() call, is unmapped.

  RETURN VALUES

    This function returns a value of 0 if successful.  If not successful, one
    of the failure codes listed in the ERRORS section is returned.

  ERRORS

    The vi50_close() function fails if one of the following is true:

    [XIO_FAILURE]
           The system does not contain the driver needed to support the
           request.

    [VI50_INVALID_DEVICE]
           There is no hardware corresponding to the channel.

    [VI50_NOT_OWNER]
           The channel has not been opened.

    [VI50_NO_ACCESS]
           The process does not have access to channel.




  2/94 - Intergraph Corporation                                              1






  vi50_close(3)                       CLIX                       vi50_close(3)



  RELATED INFORMATION

    Functions:  vi50_open(3), vi50_ioctl(3)

    Files:  xvi50(7)

















































  2                                              Intergraph Corporation - 2/94




Typewritten Software • bear@typewritten.org • Edmonds, WA 98026