Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Starbase Device Drivers Manual - Vol2: HP 9000 Series 700 Computers > Chapter 6 The HP Starbase-to-Visualizer Archive Device Driver

Gescapes

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

The hpsbv driver recognizes a number of gescape functions. Following are the supported functions and definitions. Details can be found in Appendix A of this manual.

  • SBVESC_OBJ_NAME — Name the following data by this name.

  • SBVESC_BEGIN_ARC — Begin archiving all relevant Starbase calls.

  • SBVESC_END_ARC — Stop archiving any future Starbase calls.

  • SBVESC_COMMENT — Embed a user-defined comment in the archive file (has no effect on output object data).

  • SBVESC_LF_COORD — Left handed coordinate data.

  • SBVESC_RT_COORD — Right handed coordinate data.

Gescape Syntax

The gescape function allows the application program to input or output to a device in a device dependent manner. The C syntax for the gescape function is:

/* gescape_arg is typedef defined in starbase.c.h */

.
.
.
gescape_arg arg1, arg2;

.
.
.
gescape(fildes, 〈op〉, &arg1, &arg2);

Where fildes is the file descriptor of the device to be accessed (returned by Starbase gopen call).

The 〈op〉 is the opcode that specifies the action to be performed. This code is only relevant to a specific driver and is ignored when passed to other devices.

The arg1 and arg2 parameters provide additional data needed by a gescape.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.