Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fg_fbmode(3)



  fg_fbstat(3)                        CLIX                        fg_fbstat(3)



  NAME

    fg_fbstat - Gets the mode of a frame buffer

  LIBRARY

    Intergraph Device Library (libix.a)

  SYNOPSIS

    #include <sys/xio/xerr.h>

    #include <sys/xio/xfg.h>

    int fg_fbstat(
      int fgno ,
      int fbno ,
      int *mode );

  PARAMETERS

    fgno   The frame grabber location on the Shared Resource (SR) Bus

    fbno   The frame buffer number

    mode   A pointer to an integer representing the frame buffer mode

  DESCRIPTION

    The fg_fbstat() function returns the mode of a frame buffer.  The mode is
    returned in the location referenced by mode.  The mode parameter will be
    either FG_DISPLAY, FG_GRAB, or FG_SNAP.  The fg_fbstat() determines when a
    frame was grabbed by polling until the mode FG_DISPLAY is returned.

    The fgno parameter specifies the frame grabber location on the Shared
    Resource (SR) Bus.  The frame grabber in the lowest SR Bus slot will be
    addressed by 0.

  RETURN VALUES

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

  ERRORS

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

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




  2/94 - Intergraph Corporation                                              1






  fg_fbstat(3)                        CLIX                        fg_fbstat(3)



    [FG_NOT_OWNER]
           The specified frame grabber was not allocated by the calling
           process.

  RELATED INFORMATION

    Functions: fg_fbmode(3)















































  2                                              Intergraph Corporation - 2/94




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