bug-ncurses
[Top][All Lists]
Advanced

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

Re: Standards question wrt winnstr & friends


From: Thomas Dickey
Subject: Re: Standards question wrt winnstr & friends
Date: Tue, 2 May 2006 12:34:59 -0400 (EDT)

On Tue, 2 May 2006, William McBrine wrote:

http://www.opengroup.org/onlinepubs/007908799/xcurses/winnstr.html

Upon successful completion, innstr(), mvinnstr(), mvwinnstr() and
winnstr() return the number of characters actually read into the string.

ok (I have some ongoing distractions-sorry-am not paying enough attention).

Otherwise, all these functions return ERR.

So ncurses' behavior is correct. It's interesting that the PDCurses comments

good (for me, anyway)

list OK/ERR as the X/Open behavior; it's possible that was based on an earlier version of the standard. (Notice the compatibility charts all refer to "X/Open '88".) But I've been unable to find earlier versions online, so I don't know. (Just out of curiosity, does anyone out there have them? Tom?)

no - I'd never heard of X/Open 88 (though google presents some interesting
information).

I'll correct PDCurses. Thanks.

--
William McBrine <address@hidden>


_______________________________________________
Bug-ncurses mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-ncurses


--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]