HPlogo MPE/iX Developer's Kit Reference Manual Volume 2: HP 3000 MPE/iX Computer Systems > Chapter 4 CURSES

tparm

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

The tparm routine is used to instantiate a parameterized string (interface to terminfo).

Syntax

   #include <curses.h>



   char *tparm (char *str, long int p1, long int p2, long int p3,

      long int p4, long int p5, long int p6, int p7,

      long int p8, long int p9);

Parameters

p1...p9

The parameters to be instantiated.

str

A pointer to the string to be instantiated.

Return Values

On success, a pointer to parameterized string is returned; otherwise, a null pointer is returned.

Description

The tparm() routine is a low-level routine used outside of CURSES to deal directly with the terminfo database. The use of appropriate CURSES routines is recommended for most situations.

The tparm() routine instantiates a parameterized string using up to nine arguments. The string is suitable for output processing by tputs().

Implementation Considerations

UNIX System V implementation

See Also

tputs()

Portability

HP-UX, UNIX System V

Feedback to webmaster