tty.h

来自「解Unix密码的程序john1.」· C头文件 代码 · 共 30 行

H
30 行
字号
/* * This file is part of John the Ripper password cracker, * Copyright (c) 1996-99 by Solar Designer *//* * Terminal support routines. */#ifndef _JOHN_TTY_H#define _JOHN_TTY_H/* * Initializes the terminal for unbuffered non-blocking input. Also registers * tty_done() via atexit(). */extern void tty_init(void);/* * Reads a character, returns -1 if no data available or on error. */extern int tty_getchar(void);/* * Restores the terminal parameters and closes the file descriptor. */extern void tty_done(void);#endif

⌨️ 快捷键说明

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