fg_priority(3) CLIX fg_priority(3)
NAME
fg_priority - Determines frame buffer output priority of the frame grabber
LIBRARY
Intergraph Device Library (libix.a)
SYNOPSIS
#include <sys/xio/xerr.h>
int fg_priority(
int fgno ,
int fbno );
PARAMETERS
fgno The frame grabber location on the Shared Resource (SR) Bus.
fbno The frame buffer number
DESCRIPTION
The fg_priority() function determines the source of video output when both
frame buffers are in FG_DISPLAY mode. If fbno is zero, frame buffer 0 is
the source of video output. Otherwise, frame buffer 1 is the source of
video output.
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_priority() function will fail if one of the following is true:
[XIO_FAILURE]
The system does not contain the driver needed to support this
request.
[FG_NOT_OWNER]
The specified frame grabber was not allocated by the calling
process.
RELATED INFORMATION
2/94 - Intergraph Corporation 1
fg_priority(3) CLIX fg_priority(3)
Functions: fg_fbmode(3)
2 Intergraph Corporation - 2/94