#include <curses.h>
int instr(char * str);
int instr
The interface instr() shall behave as specified in X/Open Curses, except that instr() shall return the number of characters that were read.