Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

xsif(7)



  sif_open(3)                         CLIX                         sif_open(3)



  NAME

    sif_open - Opens a Scanner Interface (SIF) channel

  LIBRARY

    Intergraph Device Library (libix.a)

  SYNOPSIS

    #include <sys/xio/xerr.h>

    int sif_open(
      int channel );

  PARAMETERS

    channel   An integer representing an SIF channel

  DESCRIPTION

    The sif_open() function opens the specified Scanner Interface (SIF)
    channel.  Only one process is allowed to open a SIF channel at a time.
    Each SIF board in the system is represented by a channel number so that
    channel 0 references the SIF board with the lowest Shared Resource (SR)
    Bus slot number.

  RETURN VALUES

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

  ERRORS

    The sif_open() 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_REDUNDANT_REQ]
           The specified channel is currently open by this process.

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

    [SIF_CHANNEL_NOT_FOUND]
           The specified channel is not present in the system.

    [SIF_CHANNEL_BUSY]
           The specified channel is currently open by another process.



  2/94 - Intergraph Corporation                                              1






  sif_open(3)                         CLIX                         sif_open(3)



  RELATED INFORMATION

    Files:  xsif(7)



















































  2                                              Intergraph Corporation - 2/94




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