MCPcopy Create free account
hub / github.com/NetHack/NetHack / curses_copy_of

Function curses_copy_of

win/curses/cursmisc.c:236–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234 */
235
236char *
237curses_copy_of(const char *s)
238{
239 if (!s)
240 s = "";
241 return dupstr(s);
242}
243
244
245/* Determine the number of lines needed for a string for a dialog window

Callers 4

curses_break_strFunction · 0.85
curses_str_remainderFunction · 0.85
curs_new_menu_itemFunction · 0.85
curses_finalize_nhmenuFunction · 0.85

Calls 1

dupstrFunction · 0.85

Tested by

no test coverage detected