int FLIInit

(char* file, fliport_t* port)

Initialize the library.

Documentation

Initialize the library. This function initializes the library and places a port handle in the location pointed to by port. The port handle is used in subsequent library calls and acts as an interface to the parallel port. This function must be called before any other library functions are used.

Parameters:
file - Filename of character special file that corresponds to the major/minor number controlled by FLI device driver module (e.g. /dev/ccd0).
port - Pointer to where a port handle will be placed.
Returns:
Zero on success.
Non-zero on failure.
See Also:
FLIExit

Alphabetic index



This page was generated with the help of DOC++.