Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libcurses Fix PR # 41894.



details:   https://anonhg.NetBSD.org/src/rev/613f15478003
branches:  trunk
changeset: 763893:613f15478003
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Wed Apr 06 08:38:43 2011 +0000

description:
Fix PR # 41894.

diffstat:

 lib/libcurses/curses_print.3 |  11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diffs (39 lines):

diff -r 6c2ede800954 -r 613f15478003 lib/libcurses/curses_print.3
--- a/lib/libcurses/curses_print.3      Wed Apr 06 08:15:44 2011 +0000
+++ b/lib/libcurses/curses_print.3      Wed Apr 06 08:38:43 2011 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: curses_print.3,v 1.6 2003/04/16 13:35:01 wiz Exp $
+.\"    $NetBSD: curses_print.3,v 1.7 2011/04/06 08:38:43 jruoho Exp $
 .\"
 .\" Copyright (c) 2002
 .\"    Brett Lymn (blymn%NetBSD.org@localhost, brett_lymn%yahoo.com.au@localhost)
@@ -30,7 +30,7 @@
 .\" SUCH DAMAGE.
 .\"
 .\"
-.Dd August 12, 2002
+.Dd April 6, 2011
 .Dt CURSES_PRINT 3
 .Os
 .Sh NAME
@@ -64,8 +64,9 @@
 .Fn printw
 function formats and prints its arguments on
 .Dv stdscr .
-The behaviour is the same as that of
-.Fn printf .
+The behavior is deliberately similar to that of
+.Xr printf 3 ,
+but, notably, the return value differs.
 .Pp
 The
 .Fn wprintw
@@ -104,7 +105,7 @@
 The functions that return an int will return one of the following
 values:
 .Pp
-.Bl -tag -width ERR -compact
+.Bl -tag -width ERR -offset indent
 .It Er OK
 The function completed successfully.
 .It Er ERR



Home | Main Index | Thread Index | Old Index