Manual Pages for UNIX Darwin command on man addstr
MyWebUniversity

Manual Pages for UNIX Darwin command on man addstr

cursaddstr(3X) cursaddstr(3X)

NAME

aaddddssttrr, aaddddnnssttrr, wwaaddddssttrr, wwaaddddnnssttrr, mmvvaaddddssttrr, mmvvaaddddnnssttrr, mmvvwwaaddddssttrr,

mmvvwwaaddddnnssttrr - add a string of characters to a ccuurrsseess window and advance

cursor

SYNOPSIS

##iinncclluuddee <>

iinntt aaddddssttrr((ccoonnsstt cchhaarr **str));; iinntt aaddddnnssttrr((ccoonnsstt cchhaarr **str,, iinntt n));; iinntt wwaaddddssttrr((WWIINNDDOOWW **win,, ccoonnsstt cchhaarr **str));; iinntt wwaaddddnnssttrr((WWIINNDDOOWW **win,, ccoonnsstt cchhaarr **str,, iinntt n));; iinntt mmvvaaddddssttrr((iinntt y,, iinntt x,, ccoonnsstt cchhaarr **str));; iinntt mmvvaaddddnnssttrr((iinntt y,, iinntt x,, ccoonnsstt cchhaarr **str,, iinntt n));; iinntt mmvvwwaaddddssttrr((WWIINNDDOOWW **win,, iinntt y,, iinntt x,, ccoonnsstt cchhaarr **str));; iinntt mmvvwwaaddddnnssttrr((WWIINNDDOOWW **win,, iinntt y,, iinntt x,, ccoonnsstt cchhaarr **str, int n));;

DESCRIPTION

These routines write the characters of the (null-terminated) character

string str on the given window. It is similar to calling wwaaddddcchh once for each character in the string. The four routines with n as the last

argument write at most n characters. If n is -1, then the entire

string will be added, up to the maximum number of characters that will fit on the line, or until a terminating null is reached. RREETTUURRNN VVAALLUUEE All routines return the integer EERRRR upon failure and OOKK on success (the

SVr4 manuals specify only "an integer value other than EERRRR") upon suc-

cessful completion.

X/Open does not define any error conditions. This implementation re-

turns an error if the window pointer is null or if the string pointer is null or if the corresponding calls to wwaaddddcchh return an error. NNOOTTEESS Note that all of these routines except wwaaddddssttrr and wwaaddddnnssttrr may be macros. PPOORRTTAABBIILLIITTYY All these entry points are described in the XSI Curses standard, Issue

4. The XSI errors EILSEQ and EOVERFLOW, associated with extended-level

conformance, are not yet detected.

SEE ALSO

ccuurrsseess(3X), ccuurrssaaddddcchh(3X).

cursaddstr(3X)




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