📄 curses.h.in
字号:
extern NCURSES_EXPORT(int) addstr (const char *); /* generated */extern NCURSES_EXPORT(int) attroff (NCURSES_ATTR_T); /* generated */extern NCURSES_EXPORT(int) attron (NCURSES_ATTR_T); /* generated */extern NCURSES_EXPORT(int) attrset (NCURSES_ATTR_T); /* generated */extern NCURSES_EXPORT(int) attr_get (attr_t *, short *, void *); /* generated */extern NCURSES_EXPORT(int) attr_off (attr_t, void *); /* generated */extern NCURSES_EXPORT(int) attr_on (attr_t, void *); /* generated */extern NCURSES_EXPORT(int) attr_set (attr_t, short, void *); /* generated */extern NCURSES_EXPORT(int) baudrate (void); /* implemented */extern NCURSES_EXPORT(int) beep (void); /* implemented */extern NCURSES_EXPORT(int) bkgd (chtype); /* generated */extern NCURSES_EXPORT(void) bkgdset (chtype); /* generated */extern NCURSES_EXPORT(int) border (chtype,chtype,chtype,chtype,chtype,chtype,chtype,chtype); /* generated */extern NCURSES_EXPORT(int) box (WINDOW *, chtype, chtype); /* generated */extern NCURSES_EXPORT(bool) can_change_color (void); /* implemented */extern NCURSES_EXPORT(int) cbreak (void); /* implemented */extern NCURSES_EXPORT(int) chgat (int, attr_t, short, const void *); /* generated */extern NCURSES_EXPORT(int) clear (void); /* generated */extern NCURSES_EXPORT(int) clearok (WINDOW *,bool); /* implemented */extern NCURSES_EXPORT(int) clrtobot (void); /* generated */extern NCURSES_EXPORT(int) clrtoeol (void); /* generated */extern NCURSES_EXPORT(int) color_content (short,short*,short*,short*); /* implemented */extern NCURSES_EXPORT(int) color_set (short,void*); /* generated */extern NCURSES_EXPORT(int) COLOR_PAIR (int); /* generated */extern NCURSES_EXPORT(int) copywin (const WINDOW*,WINDOW*,int,int,int,int,int,int,int); /* implemented */extern NCURSES_EXPORT(int) curs_set (int); /* implemented */extern NCURSES_EXPORT(int) def_prog_mode (void); /* implemented */extern NCURSES_EXPORT(int) def_shell_mode (void); /* implemented */extern NCURSES_EXPORT(int) delay_output (int); /* implemented */extern NCURSES_EXPORT(int) delch (void); /* generated */extern NCURSES_EXPORT(void) delscreen (SCREEN *); /* implemented */extern NCURSES_EXPORT(int) delwin (WINDOW *); /* implemented */extern NCURSES_EXPORT(int) deleteln (void); /* generated */extern NCURSES_EXPORT(WINDOW *) derwin (WINDOW *,int,int,int,int); /* implemented */extern NCURSES_EXPORT(int) doupdate (void); /* implemented */extern NCURSES_EXPORT(WINDOW *) dupwin (WINDOW *); /* implemented */extern NCURSES_EXPORT(int) echo (void); /* implemented */extern NCURSES_EXPORT(int) echochar (const chtype); /* generated */extern NCURSES_EXPORT(int) erase (void); /* generated */extern NCURSES_EXPORT(int) endwin (void); /* implemented */extern NCURSES_EXPORT(char) erasechar (void); /* implemented */extern NCURSES_EXPORT(void) filter (void); /* implemented */extern NCURSES_EXPORT(int) flash (void); /* implemented */extern NCURSES_EXPORT(int) flushinp (void); /* implemented */extern NCURSES_EXPORT(chtype) getbkgd (WINDOW *); /* generated */extern NCURSES_EXPORT(int) getch (void); /* generated */extern NCURSES_EXPORT(int) getnstr (char *, int); /* generated */extern NCURSES_EXPORT(int) getstr (char *); /* generated */extern NCURSES_EXPORT(WINDOW *) getwin (FILE *); /* implemented */extern NCURSES_EXPORT(int) halfdelay (int); /* implemented */extern NCURSES_EXPORT(bool) has_colors (void); /* implemented */extern NCURSES_EXPORT(bool) has_ic (void); /* implemented */extern NCURSES_EXPORT(bool) has_il (void); /* implemented */extern NCURSES_EXPORT(int) hline (chtype, int); /* generated */extern NCURSES_EXPORT(void) idcok (WINDOW *, bool); /* implemented */extern NCURSES_EXPORT(int) idlok (WINDOW *, bool); /* implemented */extern NCURSES_EXPORT(void) immedok (WINDOW *, bool); /* implemented */extern NCURSES_EXPORT(chtype) inch (void); /* generated */extern NCURSES_EXPORT(int) inchnstr (chtype *, int); /* generated */extern NCURSES_EXPORT(int) inchstr (chtype *); /* generated */extern NCURSES_EXPORT(WINDOW *) initscr (void); /* implemented */extern NCURSES_EXPORT(int) init_color (short,short,short,short); /* implemented */extern NCURSES_EXPORT(int) init_pair (short,short,short); /* implemented */extern NCURSES_EXPORT(int) innstr (char *, int); /* generated */extern NCURSES_EXPORT(int) insch (chtype); /* generated */extern NCURSES_EXPORT(int) insdelln (int); /* generated */extern NCURSES_EXPORT(int) insertln (void); /* generated */extern NCURSES_EXPORT(int) insnstr (const char *, int); /* generated */extern NCURSES_EXPORT(int) insstr (const char *); /* generated */extern NCURSES_EXPORT(int) instr (char *); /* generated */extern NCURSES_EXPORT(int) intrflush (WINDOW *,bool); /* implemented */extern NCURSES_EXPORT(bool) isendwin (void); /* implemented */extern NCURSES_EXPORT(bool) is_linetouched (WINDOW *,int); /* implemented */extern NCURSES_EXPORT(bool) is_wintouched (WINDOW *); /* implemented */extern NCURSES_EXPORT(NCURSES_CONST char *) keyname (int); /* implemented */extern NCURSES_EXPORT(int) keypad (WINDOW *,bool); /* implemented */extern NCURSES_EXPORT(char) killchar (void); /* implemented */extern NCURSES_EXPORT(int) leaveok (WINDOW *,bool); /* implemented */extern NCURSES_EXPORT(char *) longname (void); /* implemented */extern NCURSES_EXPORT(int) meta (WINDOW *,bool); /* implemented */extern NCURSES_EXPORT(int) move (int, int); /* generated */extern NCURSES_EXPORT(int) mvaddch (int, int, const chtype); /* generated */extern NCURSES_EXPORT(int) mvaddchnstr (int, int, const chtype *, int); /* generated */extern NCURSES_EXPORT(int) mvaddchstr (int, int, const chtype *); /* generated */extern NCURSES_EXPORT(int) mvaddnstr (int, int, const char *, int); /* generated */extern NCURSES_EXPORT(int) mvaddstr (int, int, const char *); /* generated */extern NCURSES_EXPORT(int) mvchgat (int, int, int, attr_t, short, const void *); /* generated */extern NCURSES_EXPORT(int) mvcur (int,int,int,int); /* implemented */extern NCURSES_EXPORT(int) mvdelch (int, int); /* generated */extern NCURSES_EXPORT(int) mvderwin (WINDOW *, int, int); /* implemented */extern NCURSES_EXPORT(int) mvgetch (int, int); /* generated */extern NCURSES_EXPORT(int) mvgetnstr (int, int, char *, int); /* generated */extern NCURSES_EXPORT(int) mvgetstr (int, int, char *); /* generated */extern NCURSES_EXPORT(int) mvhline (int, int, chtype, int); /* generated */extern NCURSES_EXPORT(chtype) mvinch (int, int); /* generated */extern NCURSES_EXPORT(int) mvinchnstr (int, int, chtype *, int); /* generated */extern NCURSES_EXPORT(int) mvinchstr (int, int, chtype *); /* generated */extern NCURSES_EXPORT(int) mvinnstr (int, int, char *, int); /* generated */extern NCURSES_EXPORT(int) mvinsch (int, int, chtype); /* generated */extern NCURSES_EXPORT(int) mvinsnstr (int, int, const char *, int); /* generated */extern NCURSES_EXPORT(int) mvinsstr (int, int, const char *); /* generated */extern NCURSES_EXPORT(int) mvinstr (int, int, char *); /* generated */extern NCURSES_EXPORT(int) mvprintw (int,int, const char *,...) /* implemented */ GCC_PRINTFLIKE(3,4);extern NCURSES_EXPORT(int) mvscanw (int,int, NCURSES_CONST char *,...) /* implemented */ GCC_SCANFLIKE(3,4);extern NCURSES_EXPORT(int) mvvline (int, int, chtype, int); /* generated */extern NCURSES_EXPORT(int) mvwaddch (WINDOW *, int, int, const chtype); /* generated */extern NCURSES_EXPORT(int) mvwaddchnstr (WINDOW *, int, int, const chtype *, int);/* generated */extern NCURSES_EXPORT(int) mvwaddchstr (WINDOW *, int, int, const chtype *); /* generated */extern NCURSES_EXPORT(int) mvwaddnstr (WINDOW *, int, int, const char *, int); /* generated */extern NCURSES_EXPORT(int) mvwaddstr (WINDOW *, int, int, const char *); /* generated */extern NCURSES_EXPORT(int) mvwchgat (WINDOW *, int, int, int, attr_t, short, const void *);/* generated */extern NCURSES_EXPORT(int) mvwdelch (WINDOW *, int, int); /* generated */extern NCURSES_EXPORT(int) mvwgetch (WINDOW *, int, int); /* generated */extern NCURSES_EXPORT(int) mvwgetnstr (WINDOW *, int, int, char *, int); /* generated */extern NCURSES_EXPORT(int) mvwgetstr (WINDOW *, int, int, char *); /* generated */extern NCURSES_EXPORT(int) mvwhline (WINDOW *, int, int, chtype, int); /* generated */extern NCURSES_EXPORT(int) mvwin (WINDOW *,int,int); /* implemented */extern NCURSES_EXPORT(chtype) mvwinch (WINDOW *, int, int); /* generated */extern NCURSES_EXPORT(int) mvwinchnstr (WINDOW *, int, int, chtype *, int); /* generated */extern NCURSES_EXPORT(int) mvwinchstr (WINDOW *, int, int, chtype *); /* generated */extern NCURSES_EXPORT(int) mvwinnstr (WINDOW *, int, int, char *, int); /* generated */extern NCURSES_EXPORT(int) mvwinsch (WINDOW *, int, int, chtype); /* generated */extern NCURSES_EXPORT(int) mvwinsnstr (WINDOW *, int, int, const char *, int); /* generated */extern NCURSES_EXPORT(int) mvwinsstr (WINDOW *, int, int, const char *); /* generated */extern NCURSES_EXPORT(int) mvwinstr (WINDOW *, int, int, char *); /* generated */extern NCURSES_EXPORT(int) mvwprintw (WINDOW*,int,int, const char *,...) /* implemented */ GCC_PRINTFLIKE(4,5);extern NCURSES_EXPORT(int) mvwscanw (WINDOW *,int,int, NCURSES_CONST char *,...) /* implemented */ GCC_SCANFLIKE(4,5);extern NCURSES_EXPORT(int) mvwvline (WINDOW *,int, int, chtype, int); /* generated */extern NCURSES_EXPORT(int) napms (int); /* implemented */extern NCURSES_EXPORT(WINDOW *) newpad (int,int); /* implemented */extern NCURSES_EXPORT(SCREEN *) newterm (NCURSES_CONST char *,FILE *,FILE *); /* implemented */extern NCURSES_EXPORT(WINDOW *) newwin (int,int,int,int); /* implemented */extern NCURSES_EXPORT(int) nl (void); /* implemented */extern NCURSES_EXPORT(int) nocbreak (void); /* implemented */extern NCURSES_EXPORT(int) nodelay (WINDOW *,bool); /* implemented */extern NCURSES_EXPORT(int) noecho (void); /* implemented */extern NCURSES_EXPORT(int) nonl (void); /* implemented */extern NCURSES_EXPORT(void) noqiflush (void); /* implemented */extern NCURSES_EXPORT(int) noraw (void); /* implemented */extern NCURSES_EXPORT(int) notimeout (WINDOW *,bool); /* implemented */extern NCURSES_EXPORT(int) overlay (const WINDOW*,WINDOW *); /* implemented */extern NCURSES_EXPORT(int) overwrite (const WINDOW*,WINDOW *); /* implemented */extern NCURSES_EXPORT(int) pair_content (short,short*,short*); /* implemented */extern NCURSES_EXPORT(int) PAIR_NUMBER (int); /* generated */extern NCURSES_EXPORT(int) pechochar (WINDOW *, const chtype); /* implemented */extern NCURSES_EXPORT(int) pnoutrefresh (WINDOW*,int,int,int,int,int,int);/* implemented */extern NCURSES_EXPORT(int) prefresh (WINDOW *,int,int,int,int,int,int); /* implemented */extern NCURSES_EXPORT(int) printw (const char *,...) /* implemented */ GCC_PRINTFLIKE(1,2);extern NCURSES_EXPORT(int) putp (const char *); /* implemented */extern NCURSES_EXPORT(int) putwin (WINDOW *, FILE *); /* implemented */extern NCURSES_EXPORT(void) qiflush (void); /* implemented */extern NCURSES_EXPORT(int) raw (void); /* implemented */extern NCURSES_EXPORT(int) redrawwin (WINDOW *); /* generated */extern NCURSES_EXPORT(int) refresh (void); /* generated */extern NCURSES_EXPORT(int) resetty (void); /* implemented */extern NCURSES_EXPORT(int) reset_prog_mode (void); /* implemented */extern NCURSES_EXPORT(int) reset_shell_mode (void); /* implemented */extern NCURSES_EXPORT(int) ripoffline (int, int (*)(WINDOW *, int)); /* implemented */extern NCURSES_EXPORT(int) savetty (void); /* implemented */extern NCURSES_EXPORT(int) scanw (NCURSES_CONST char *,...) /* implemented */ GCC_SCANFLIKE(1,2);extern NCURSES_EXPORT(int) scr_dump (const char *); /* implemented */extern NCURSES_EXPORT(int) scr_init (const char *); /* implemented */extern NCURSES_EXPORT(int) scrl (int); /* generated */extern NCURSES_EXPORT(int) scroll (WINDOW *); /* generated */extern NCURSES_EXPORT(int) scrollok (WINDOW *,bool); /* implemented */extern NCURSES_EXPORT(int) scr_restore (const char *); /* implemented */extern NCURSES_EXPORT(int) scr_set (const char *); /* implemented */extern NCURSES_EXPORT(int) setscrreg (int,int); /* generated */extern NCURSES_EXPORT(SCREEN *) set_term (SCREEN *); /* implemented */extern NCURSES_EXPORT(int) slk_attroff (const chtype); /* implemented */extern NCURSES_EXPORT(int) slk_attr_off (const attr_t, void *); /* generated:WIDEC */extern NCURSES_EXPORT(int) slk_attron (const chtype); /* implemented */extern NCURSES_EXPORT(int) slk_attr_on (attr_t,void*); /* generated:WIDEC */extern NCURSES_EXPORT(int) slk_attrset (const chtype); /* implemented */extern NCURSES_EXPORT(attr_t) slk_attr (void); /* implemented */extern NCURSES_EXPORT(int) slk_attr_set (const attr_t,short,void*); /* implemented */extern NCURSES_EXPORT(int) slk_clear (void); /* implemented */extern NCURSES_EXPORT(int) slk_color (short); /* implemented */extern NCURSES_EXPORT(int) slk_init (int); /* implemented */extern NCURSES_EXPORT(char *) slk_label (int); /* implemented */extern NCURSES_EXPORT(int) slk_noutrefresh (void); /* implemented */extern NCURSES_EXPORT(int) slk_refresh (void); /* implemented */extern NCURSES_EXPORT(int) slk_restore (void); /* implemented */extern NCURSES_EXPORT(int) slk_set (int,const char *,int); /* implemented */extern NCURSES_EXPORT(int) slk_touch (void); /* implemented */extern NCURSES_EXPORT(int) standout (void); /* generated */extern NCURSES_EXPORT(int) standend (void); /* generated */extern NCURSES_EXPORT(int) start_color (void); /* implemented */extern NCURSES_EXPORT(WINDOW *) subpad (WINDOW *, int, int, int, int); /* implemented */extern NCURSES_EXPORT(WINDOW *) subwin (WINDOW *,int,int,int,int); /* implemented */extern NCURSES_EXPORT(int) syncok (WINDOW *, bool); /* implemented */extern NCURSES_EXPORT(chtype) termattrs (void); /* implemented */extern NCURSES_EXPORT(char *) termname (void); /* implemented */extern NCURSES_EXPORT(int) tigetflag (NCURSES_CONST char *); /* implemented */extern NCURSES_EXPORT(int) tigetnum (NCURSES_CONST char *); /* implemented */extern NCURSES_EXPORT(char *) tigetstr (NCURSES_CONST char *); /* implemented */extern NCURSES_EXPORT(void) timeout (int); /* generated */extern NCURSES_EXPORT(int) touchline (WINDOW *, int, int); /* generated */extern NCURSES_EXPORT(int) touchwin (WINDOW *); /* generated */extern NCURSES_EXPORT(char *) tparm (NCURSES_CONST char *, ...); /* implemented */extern NCURSES_EXPORT(int) typeahead (int); /* implemented */extern NCURSES_EXPORT(int) ungetch (int); /* implemented */extern NCURSES_EXPORT(int) untouchwin (WINDOW *); /* generated */extern NCURSES_EXPORT(void) use_env (bool); /* implemented */extern NCURSES_EXPORT(int) vidattr (chtype); /* implemented */extern NCURSES_EXPORT(int) vidputs (chtype, int (*)(int)); /* implemented */extern NCURSES_EXPORT(int) vline (chtype, int); /* generated */extern NCURSES_EXPORT(int) vwprintw (WINDOW *, const char *,va_list); /* implemented */extern NCURSES_EXPORT(int) vw_printw (WINDOW *, const char *,va_list); /* generated */extern NCURSES_EXPORT(int) vwscanw (WINDOW *, NCURSES_CONST char *,va_list); /* implemented */extern NCURSES_EXPORT(int) vw_scanw (WINDOW *, NCURSES_CONST char *,va_list); /* generated */extern NCURSES_EXPORT(int) waddch (WINDOW *, const chtype); /* implemented */extern NCURSES_EXPORT(int) waddchnstr (WINDOW *,const chtype *,int); /* implemented */extern NCURSES_EXPORT(int) waddchstr (WINDOW *,const chtype *); /* generated */extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */extern NCURSES_EXPORT(int) waddstr (WINDOW *,const char *); /* generated */extern NCURSES_EXPORT(int) wattron (WINDOW *, int); /* generated */extern NCURSES_EXPORT(int) wattroff (WINDOW *, int); /* generated */extern NCURSES_EXPORT(int) wattrset (WINDOW *, int); /* generated */extern NCURSES_EXPORT(int) wattr_get (WINDOW *, attr_t *, short *, void *); /* generated */extern NCURSES_EXPORT(int) wattr_on (WINDOW *, attr_t, void *); /* implemented */extern NCURSES_EXPORT(int) wattr_off (WINDOW *, attr_t, void *); /* implemented */extern NCURSES_EXPORT(int) wattr_set (WINDOW *, attr_t, short, void *); /* generated */extern NCURSES_EXPORT(int) wbkgd (WINDOW *, chtype); /* implemented */extern NCURSES_EXPORT(void) wbkgdset (WINDOW *,chtype); /* implemented */extern NCURSES_EXPORT(int) wborder (WINDOW *,chtype,chtype,chtype,chtype,chtype,chtype,chtype,chtype); /* implemented */extern NCURSES_EXPORT(int) wchgat (WINDOW *, int, attr_t, short, const void *);/* implemented */extern NCURSES_EXPORT(int) wclear (WINDOW *); /* implemented */extern NCURSES_EXPORT(int) wclrtobot (WINDOW *); /* implemented */extern NCURSES_EXPORT(int) wclrtoeol (WINDOW *); /* implemented */extern NCURSES_EXPORT(int) wcolor_set (WINDOW*,short,void*); /* implemented */extern NCURSES_EXPORT(void) wcursyncup (WINDOW *); /* implemented */extern NCURSES_EXPORT(int) wdelch (WINDOW *); /* implemented */extern NCURSES_EXPORT(int) wdeleteln (WINDOW *); /* generated */extern NCURSES_EXPORT(int) wechochar (WINDOW *, const chtype); /* implemented */extern NCURSES_EXPORT(int) werase (WINDOW *); /* implemented */extern NCURSES_EXPORT(int) wgetch (WINDOW *); /* implemented */extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */extern NCURSES_EXPORT(int) wgetstr (WINDOW *, char *); /* generated */extern NCURSES_EXPORT(int) whline (WINDOW *, chtype, int); /* implemented */extern NCURSES_EXPORT(chtype) winch (WINDOW *); /* implemented */extern NCURSES_EXPORT(int) winchnstr (WINDOW *, chtype *, int); /* implemented */extern NCURSES_EXPORT(int) winchstr (WINDOW *, chtype *); /* generated */extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */extern NCURSES_EXPORT(int) winsch (WINDOW *, chtype); /* implemented */extern NCURSES_EXPORT(int) winsdelln (WINDOW *,int); /* implemented */extern NCURSES_EXPORT(int) winsertln (WINDOW *); /* generated */extern NCURSES_EXPORT(int) winsnstr (WINDOW *, const char *,int); /* implemented */extern NCURSES_EXPORT(int) winsstr (WINDOW *, const char *); /* generated */extern NCURSES_EXPORT(int) winstr (WINDOW *, char *); /* generated */extern NCURSES_EXPORT(int) wmove (WINDOW *,int,int); /* implemented */extern NCURSES_EXPORT(int) wnoutrefresh (WINDOW *); /* implemented */extern NCURSES_EXPORT(int) wprintw (WINDOW *, const char *,...) /* implemented */ GCC_PRINTFLIKE(2,3);extern NCURSES_EXPORT(int) wredrawln (WINDOW *,int,int); /* implemented */extern NCURSES_EXPORT(int) wrefresh (WINDOW *); /* implemented */extern NCURSES_EXPORT(int) wscanw (WINDOW *, NCURSES_CONST char *,...) /* implemented */ GCC_SCANFLIKE(2,3);extern NCURSES_EXPORT(int) wscrl (WINDOW *,int); /* implemented */extern NCURSES_EXPORT(int) wsetscrreg (WINDOW *,int,int); /* implemented */extern NCURSES_EXPORT(int) wstandout (WINDOW *); /* generated */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -