editgets.h

来自「C语言库函数的源代码,是C语言学习参考的好文档。」· C头文件 代码 · 共 41 行

H
41
字号
/* +++Date last modified: 05-Jul-1997 */

/*
** jgets() - line input w/editing
*/

#ifndef EDITGETS__H
#define EDITGETS__H

#include "minmax.h"

extern int TabSize;

/*
**  Password mode:
**
**  0 - Normal operation
**  1 - Conventional password mode - '*' is echoed for all characters,
**      only ESC, ENTER, BACKSPC, and CTLHOME are active.
**  2 - Secure password mode - same as above except random characters are
**      displayed rather than '*'s to distract snoops from watching the keys.
*/

extern int password_mode;

/*
**  Line editing formatted text entry function.
*/

int editgets(char *s, int maxlen, char *string);


/*
**  Get a string of unknown length
*/

char *getstring(void);


#endif /* EDITGETS__H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?