waddstr.c
来自「操作系统源代码」· C语言 代码 · 共 19 行
C
19 行
#include <curses.h>#include "curspriv.h"/****************************************************************//* Waddstr() inserts string 'str' at the current cursor posi- *//* Tion in window 'win', and takes any actions as dictated by *//* The characters. *//****************************************************************/int waddstr(win, str)WINDOW *win;char *str;{ while (*str) { if (waddch(win, *str++) == ERR) return(ERR); } return(OK);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?