NAME
aaddddssttrr, aaddddnnssttrr, wwaaddddssttrr, wwaaddddnnssttrr, mmvvaaddddssttrr, mmvvaaddddnnssttrr, mmvvwwaaddddssttrr,mmvvwwaaddddnnssttrr - add a string of characters to a ccuurrsseess window and advance
cursorSYNOPSIS
##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 lastargument 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 (theSVr4 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, Issue4. The XSI errors EILSEQ and EOVERFLOW, associated with extended-level
conformance, are not yet detected.SEE ALSO
ccuurrsseess(3X), ccuurrssaaddddcchh(3X). cursaddstr(3X)