Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fainit(3w) — HP-UX 9.10

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

faterminate(3w)

fasetinfo(3w)

fainit(3w)

NAME

fainit − prepare a fast alpha window device for output, and set up all defaults

SYNOPSIS

#include <fa.h>
int fainit(gfd,driver);
int gfd;
int driver;

DESCRIPTION

gfd is an integer file descriptor for an gopened device interface. 

driver indicates the driver to be used for all subsequent fast alpha calls, i.e., indicates a particular display device.  See /usr/include/fa.h for all valid driver names.  The value FAWINDOW should be used for HP Windows/9000 Fast Alpha Library. 

DISCUSSION

This routine is used to set up the default values the fast alpha environment will use for future fast alpha library calls.  It assumes that a gopen(3S) has actually been performed, and that the returned file descriptor is supplied as gfd.

These variables remain in effect until font or color changing library routines are invoked or until an faterminate is encountered.  Calls to fasetinfo with proper parameters can alter the state set up by fainit. 

SEE ALSO

faterminate(3w), fasetinfo(3w). 

DIAGNOSTICS

A value of −1 is returned if gfd or driver is invalid or if fainit otherwise fails.  See errno(2) for further information. 

Hewlett-Packard Company  —  HP-UX Release 9.10: April 1995

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