[Top][All Lists]

[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:


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

I'll correct PDCurses. Thanks.

William McBrine <address@hidden>

Bug-ncurses mailing list

Thomas E. Dickey

reply via email to

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