bug-ncurses
[Top][All Lists]
Advanced

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

ncurses tgetstr man page suggestion


From: Todd M. Lewis
Subject: ncurses tgetstr man page suggestion
Date: Wed, 22 Apr 2015 08:24:44 -0400
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

Thanks for your work on ncurses.

In the man page for tgetstr says:
The tgetstr routine returns the string entry for id, or zero if it is not available. Use tputs to output the returned string. The return value will also be copied to the buffer pointed to by area, and the area value will be updated to point past the null ending this value.
It does not mention that area can be NULL, or can point to NULL. Might I suggest that the last sentence begin with text to this effect: "Unless area is a NULL pointer, or points to a NULL pointer, then..."

Thanks again for some great software.
-- 
     +--------------------------------------------------------------+
    / address@hidden  919-445-0091  http://www.unc.edu/~utoddl /
   /       Expecting life to treat you well because you are       /
  /         a good person is like expecting an angry bull        /
 /          not to charge because you are a vegetarian.         /
+--------------------------------------------------------------+

reply via email to

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