X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Fcurs_ins_wch.3x;h=0eff335fb15addedf909690dc0d97e7974735b25;hp=23cf0999572a38d1c81951d7b2f3c5b6981a79b5;hb=32345daa97e69f66b554f02faef53cfd02739bdc;hpb=46722468f47c2b77b3987729b4bcf2321cccfd01 diff --git a/man/curs_ins_wch.3x b/man/curs_ins_wch.3x index 23cf0999..0eff335f 100644 --- a/man/curs_ins_wch.3x +++ b/man/curs_ins_wch.3x @@ -1,5 +1,5 @@ .\"*************************************************************************** -.\" Copyright (c) 2002 Free Software Foundation, Inc. * +.\" Copyright (c) 2002-2010,2017 Free Software Foundation, Inc. * .\" * .\" Permission is hereby granted, free of charge, to any person obtaining a * .\" copy of this software and associated documentation files (the * @@ -26,7 +26,7 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: curs_ins_wch.3x,v 1.2 2002/03/10 23:43:27 tom Exp $ +.\" $Id: curs_ins_wch.3x,v 1.6 2017/11/21 00:53:44 tom Exp $ .TH curs_ins_wch 3X "" .SH NAME \fBins_wch\fR, @@ -35,7 +35,7 @@ \fBwins_wch\fR \- insert a complex character and rendition into a window .SH SYNOPSIS #include - +.sp \fBint ins_wch(const cchar_t *\fR\fIwch\fR\fB);\fR .br \fBint wins_wch(WINDOW *\fR\fIwin, const cchar_t *\fR\fIwch\fR\fB);\fR @@ -50,16 +50,14 @@ All characters to the right of the cursor are moved one space to the right, with the possibility of the rightmost character on the line being lost. The insertion operation does not change the cursor position. .SH RETURN VALUE -If successful, these functions return OK. -If not, they return ERR. +If successful, these functions return \fBOK\fP. +If not, they return \fBERR\fP. +.PP +Functions with a "mv" prefix first perform a cursor movement using +\fBwmove\fP, and return an error if the position is outside the window, +or if the window pointer is null. .SH ERRORS No errors are defined. .SH SEE ALSO \fBcurses\fR(3X), \fBcurs_insch\fR(3X). -.\"# -.\"# The following sets edit modes for GNU EMACS -.\"# Local Variables: -.\"# mode:nroff -.\"# fill-column:79 -.\"# End: