X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Fcurs_get_wstr.3x;h=2eaca12cb3c619259b5fc4b52bb8ad77b4250178;hp=f8fa51d47fcb25c859bdfefe02f3bebf1162d58d;hb=55ccd2b959766810cf7db8d1c4462f338ce0afc8;hpb=46722468f47c2b77b3987729b4bcf2321cccfd01 diff --git a/man/curs_get_wstr.3x b/man/curs_get_wstr.3x index f8fa51d4..2eaca12c 100644 --- a/man/curs_get_wstr.3x +++ b/man/curs_get_wstr.3x @@ -1,5 +1,5 @@ .\"*************************************************************************** -.\" Copyright (c) 2002 Free Software Foundation, Inc. * +.\" Copyright (c) 2002-2003,2005 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,8 +26,10 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: curs_get_wstr.3x,v 1.2 2002/05/18 21:48:15 tom Exp $ +.\" $Id: curs_get_wstr.3x,v 1.5 2005/05/15 16:17:44 tom Exp $ .TH curs_get_wstr 3X "" +.na +.hy 0 .SH NAME \fBget_wstr\fR, \fBgetn_wstr\fR, @@ -37,6 +39,8 @@ \fBmvgetn_wstr\fR, \fBmvwget_wstr\fR, \fBmvwgetn_wstr\fR \- get an array of wide characters from a curses terminal keyboard +.ad +.hy .SH SYNOPSIS .nf \fB#include \fR @@ -143,6 +147,13 @@ All of these routines except \fBwgetn_wstr\fR may be macros. .SH RETURN VALUES All of these functions return \fBOK\fR upon successful completion. Otherwise, they return \fBERR\fR. +.PP +Functions using a window parameter return an error if it is null. +.RS +.TP 5 +\fBwgetn_wstr\fP +returns an error if the associated call to \fBwget_wch\fP failed. +.RE .SH PORTABILITY These functions are described in The Single Unix Specification, Version 2. No error conditions are defined. @@ -151,6 +162,9 @@ or if the lower-level \fBwget_wch\fR call returns an ERR. In the latter case, an ERR return without other data is treated as an end-of-file condition, and the returned array contains a \fBWEOF\fR followed by a null \fBwchar_t\fR. +.PP +X/Open curses documents these functions to pass an array of \fBwchar_t\fR, +but all of the vendors implement this using \fBwint_t\fR. .SH SEE ALSO Functions: \fBcurses\fR(3X),