NetBSD/lib/libcurses
jdc 542a57c041 Return "-1" for unknown keys and only return NULL for errors.
Make the key name string a static buffer.  The specification allows this,
so the previous behaviour would leak a small amount of memory, as the
application wouldn't free the returned string.

Fixes one part of PR pkg/37062.
2007-10-25 20:32:40 +00:00
..
EXAMPLES Merge in wide curses code done as a Summer of Code project by 2007-05-28 15:01:53 +00:00
PSD.doc
Makefile Change debug handling, now we write debug out iff CURSES_TRACE_FILE 2007-05-29 13:20:21 +00:00
acs.c Add additional line drawing and characters. 2007-07-11 18:44:46 +00:00
add_wch.c Merge in wide curses code done as a Summer of Code project by 2007-05-28 15:01:53 +00:00
add_wchstr.c Merge in wide curses code done as a Summer of Code project by 2007-05-28 15:01:53 +00:00
addbytes.c Merge in wide curses code done as a Summer of Code project by 2007-05-28 15:01:53 +00:00
addch.c Merge in wide curses code done as a Summer of Code project by 2007-05-28 15:01:53 +00:00
addchnstr.c Add debug "areas" that allow selective debugging by setting the 2007-01-21 13:25:36 +00:00
addnstr.c Merge in wide curses code done as a Summer of Code project by 2007-05-28 15:01:53 +00:00
addwstr.c Merge in wide curses code done as a Summer of Code project by 2007-05-28 15:01:53 +00:00
attributes.c Merge in wide curses code done as a Summer of Code project by 2007-05-28 15:01:53 +00:00
background.c Set the column width when changing the background using wbkgd(), otherwise 2007-09-19 22:13:14 +00:00
bell.c Add debug "areas" that allow selective debugging by setting the 2007-01-21 13:25:36 +00:00
border.c Merge in wide curses code done as a Summer of Code project by 2007-05-28 15:01:53 +00:00
box.c Merge in wide curses code done as a Summer of Code project by 2007-05-28 15:01:53 +00:00
cchar.c Fix some compiler warnings. 2007-05-29 11:10:55 +00:00
clear.c
clearok.c
clrtobot.c Fix some compiler warnings. 2007-05-29 11:10:55 +00:00
clrtoeol.c Fix some compiler warnings. 2007-05-29 11:10:55 +00:00
color.c Add debug "areas" that allow selective debugging by setting the 2007-01-21 13:25:36 +00:00
copywin.c Merge in wide curses code done as a Summer of Code project by 2007-05-28 15:01:53 +00:00
cr_put.c Merge in wide curses code done as a Summer of Code project by 2007-05-28 15:01:53 +00:00
ctrace.c Change debug handling, now we write debug out iff CURSES_TRACE_FILE 2007-05-29 13:20:21 +00:00
cur_hash.c
curs_set.c Add debug "areas" that allow selective debugging by setting the 2007-01-21 13:25:36 +00:00
curses.3
curses.c Merge in wide curses code done as a Summer of Code project by 2007-05-28 15:01:53 +00:00
curses.h Add additional line drawing and characters. 2007-07-11 18:44:46 +00:00
curses_addch.3 Use HTML escapes. Use Ss for subsection. Correct date. 2007-07-15 21:37:55 +00:00
curses_addchstr.3
curses_addstr.3
curses_attributes.3
curses_background.3
curses_border.3
curses_clear.3
curses_color.3
curses_cursor.3
curses_default_colors.3
curses_delch.3
curses_deleteln.3
curses_echochar.3
curses_inch.3
curses_input.3 Bump date for previous. 2006-07-29 23:47:39 +00:00
curses_insdelln.3
curses_insertch.3
curses_insertln.3
curses_keyname.3 Return "-1" for unknown keys and only return NULL for errors. 2007-10-25 20:32:40 +00:00
curses_line.3
curses_pad.3
curses_print.3
curses_private.h Merge in wide curses code done as a Summer of Code project by 2007-05-28 15:01:53 +00:00
curses_refresh.3
curses_scanw.3
curses_screen.3 Emphasise `ncurses'. 2007-07-13 11:16:11 +00:00
curses_scroll.3
curses_standout.3
curses_termcap.3
curses_touch.3
curses_tty.3
curses_underscore.3
curses_window.3
delch.c Make the non-WCHAR variant compilable. 2007-10-06 18:31:33 +00:00
deleteln.c
delwin.c Merge in wide curses code done as a Summer of Code project by 2007-05-28 15:01:53 +00:00
echo_wchar.c Merge in wide curses code done as a Summer of Code project by 2007-05-28 15:01:53 +00:00
echochar.c
erase.c Merge in wide curses code done as a Summer of Code project by 2007-05-28 15:01:53 +00:00
flushok.c
fullname.c
get_wch.c Fix some compiler warnings. 2007-05-29 11:10:55 +00:00
get_wstr.c Merge in wide curses code done as a Summer of Code project by 2007-05-28 15:01:53 +00:00
getch.c Fix a crash caused by having a single NULL character as a string capability. 2007-08-28 12:28:18 +00:00
getstr.c Merge in wide curses code done as a Summer of Code project by 2007-05-28 15:01:53 +00:00
getyx.c
id_subwins.c
idcok.c
idlok.c
in_wch.c Merge in wide curses code done as a Summer of Code project by 2007-05-28 15:01:53 +00:00
in_wchstr.c Merge in wide curses code done as a Summer of Code project by 2007-05-28 15:01:53 +00:00
inch.c Merge in wide curses code done as a Summer of Code project by 2007-05-28 15:01:53 +00:00
inchstr.c
initscr.c Pull down the following from the wcurses branch: 2007-01-22 21:14:53 +00:00
ins_wch.c Fix some compiler warnings. 2007-05-29 11:10:55 +00:00
ins_wstr.c Fix some compiler warnings. 2007-05-29 11:10:55 +00:00
insch.c Merge in wide curses code done as a Summer of Code project by 2007-05-28 15:01:53 +00:00
insdelln.c Merge in wide curses code done as a Summer of Code project by 2007-05-28 15:01:53 +00:00
insertln.c
insstr.c Merge in wide curses code done as a Summer of Code project by 2007-05-28 15:01:53 +00:00
instr.c
inwstr.c Merge in wide curses code done as a Summer of Code project by 2007-05-28 15:01:53 +00:00
keymap.h Merge in wide curses code done as a Summer of Code project by 2007-05-28 15:01:53 +00:00
keyname.c Return "-1" for unknown keys and only return NULL for errors. 2007-10-25 20:32:40 +00:00
keypad.c Add debug "areas" that allow selective debugging by setting the 2007-01-21 13:25:36 +00:00
leaveok.c
line.c Merge in wide curses code done as a Summer of Code project by 2007-05-28 15:01:53 +00:00
longname.c
meta.c Add debug "areas" that allow selective debugging by setting the 2007-01-21 13:25:36 +00:00
move.c Add debug "areas" that allow selective debugging by setting the 2007-01-21 13:25:36 +00:00
mvwin.c
newwin.c Merge in wide curses code done as a Summer of Code project by 2007-05-28 15:01:53 +00:00
nodelay.c
notimeout.c
overlay.c Add debug "areas" that allow selective debugging by setting the 2007-01-21 13:25:36 +00:00
overwrite.c Add debug "areas" that allow selective debugging by setting the 2007-01-21 13:25:36 +00:00
pause.c Add debug "areas" that allow selective debugging by setting the 2007-01-21 13:25:36 +00:00
printw.c Add debug "areas" that allow selective debugging by setting the 2007-01-21 13:25:36 +00:00
putchar.c Add debugging for the WCHAR cases. 2007-09-19 21:59:37 +00:00
refresh.c Make it build without HAVE_WCHAR 2007-10-06 20:14:41 +00:00
resize.c Fix resizing bug where the values of LINES and/or COLS changed while we 2007-08-27 19:54:29 +00:00
scanw.c Fix some compiler warnings. 2007-05-29 11:10:55 +00:00
screen.c Merge in wide curses code done as a Summer of Code project by 2007-05-28 15:01:53 +00:00
scroll.c Add debug "areas" that allow selective debugging by setting the 2007-01-21 13:25:36 +00:00
scrollok.c
setterm.c Make it build without HAVE_WCHAR 2007-10-06 20:14:41 +00:00
shlib_version Merge in wide curses code done as a Summer of Code project by 2007-05-28 15:01:53 +00:00
standout.c
timeout.c PR/34011: Julian Coleman: Limit timeout to 25.5 seconds. 2006-07-25 21:45:00 +00:00
toucholap.c Add debug "areas" that allow selective debugging by setting the 2007-01-21 13:25:36 +00:00
touchwin.c Merge in wide curses code done as a Summer of Code project by 2007-05-28 15:01:53 +00:00
tscroll.c Add debug "areas" that allow selective debugging by setting the 2007-01-21 13:25:36 +00:00
tstp.c Fix resizing bug where the values of LINES and/or COLS changed while we 2007-08-27 19:54:29 +00:00
tty.c Merge in wide curses code done as a Summer of Code project by 2007-05-28 15:01:53 +00:00
unctrl.c Merge in wide curses code done as a Summer of Code project by 2007-05-28 15:01:53 +00:00
unctrl.h Merge in wide curses code done as a Summer of Code project by 2007-05-28 15:01:53 +00:00
underscore.c Add debug "areas" that allow selective debugging by setting the 2007-01-21 13:25:36 +00:00