Manual Pages for UNIX Darwin command on man printw
MyWebUniversity

Manual Pages for UNIX Darwin command on man printw

cursprintw(3X) cursprintw(3X)

NAME

pprriinnttww, wwpprriinnttww, mmvvpprriinnttww, mmvvwwpprriinnttww, vvwwpprriinnttww, vvwwpprriinnttww - print

formatted output in ccuurrsseess windows

SYNOPSIS

##iinncclluuddee <>

iinntt pprriinnttww((ccoonnsstt cchhaarr **ffmmtt,, ......));; iinntt wwpprriinnttww((WWIINNDDOOWW **wwiinn,, ccoonnsstt cchhaarr **ffmmtt,, ......));; iinntt mmvvpprriinnttww((iinntt yy,, iinntt xx,, ccoonnsstt cchhaarr **ffmmtt,, ......));; iinntt mmvvwwpprriinnttww((WWIINNDDOOWW **wwiinn,, iinntt yy,, iinntt xx,, ccoonnsstt cchhaarr **ffmmtt,, ......));; iinntt vvwwpprriinnttww((WWIINNDDOOWW **wwiinn,, ccoonnsstt cchhaarr **ffmmtt,, vvaalliisstt vvaarrgglliisstt));; iinntt vvwwpprriinnttww((WWIINNDDOOWW **wwiinn,, ccoonnsstt cchhaarr **ffmmtt,, vvaalliisstt vvaarrgglliisstt));;

DESCRIPTION

The pprriinnttww, wwpprriinnttww, mmvvpprriinnttww and mmvvwwpprriinnttww routines are analogous to pprriinnttff [see pprriinnttff(3S)]. In effect, the string that would be output by

pprriinnttff is output instead as though wwaaddddssttrr were used on the given win-

dow. The vvwwpprriinnttww and wwvvpprriinnttww routines are analogous to vvpprriinnttff [see pprriinnttff(3S)] and perform a wwpprriinnttww using a variable argument list. The

third argument is a vvaalliisstt, a pointer to a list of arguments, as de-

fined in <>. RREETTUURRNN VVAALLUUEE Routines that return an integer return EERRRR upon failure and OOKK (SVr4

only specifies "an integer value other than EERRRR") upon successful com-

pletion. X/Open defines no error conditions. In this implementation, an error may be returned if it cannot allocate enough memory for the buffer used to format the results. It will return an error if the window pointer is null. PPOORRTTAABBIILLIITTYY

The XSI Curses standard, Issue 4 describes these functions. The func-

tion vvwwpprriinnttww is marked TO BE WITHDRAWN, and is to be replaced by a function vvwwpprriinnttww using the <> interface. The Single Unix

Specification, Version 2 states that vvwwpprriinnttww is preferred to vvww-

pprriinnttww since the latter requires including <>, which cannot be used in the same file as <>. This implementation uses <> for both, because that header is included in <.

SEE ALSO

ccuurrsseess(3X), pprriinnttff(3S), vvpprriinnttff((33SS))

cursprintw(3X)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™