Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sif_open(3)

xsif(7)



  sif_close(3)                        CLIX                        sif_close(3)



  NAME

    sif_close - Closes a Scanner Interface (SIF) channel

  LIBRARY

    Intergraph Device Library (libix.a)

  SYNOPSIS

    #include <sys/xio/xerr.h>

    int sif_close(
      int channel );

  PARAMETERS

    channel   An integer representing a scanner interface channel

  DESCRIPTION

    The sif_close() function terminates all requests pending on the specified
    Scanner Interface (SIF) channel and closes it.  The specified channel must
    have been opened with sif_open().

  RETURN VALUES

    Upon successful completion, a value of 0 is returned.  Otherwise, one of
    the following failure codes is returned.

  ERRORS

    The sif_close() function will fail if one of the following is true:

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

    [SIF_CHANNEL_INVALID]
           The specified channel is beyond the maximum allowed.

    [SIF_CHANNEL_NOT_OPEN]
           The specified channel is not open for this process.

  RELATED INFORMATION

    Functions:  sif_open(3)

    Files:  xsif(7)





  2/94 - Intergraph Corporation                                              1




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