input.h

来自「PostgreSQL7.4.6 for Linux」· C头文件 代码 · 共 43 行

H
43
字号
/* * psql - the PostgreSQL interactive terminal * * Copyright (c) 2000-2003, PostgreSQL Global Development Group * * $Header: /cvsroot/pgsql/src/bin/psql/input.h,v 1.20 2003/08/04 23:59:40 tgl Exp $ */#ifndef INPUT_H#define INPUT_H/* * If some other file needs to have access to readline/history, include this * file and save yourself all this work. * * USE_READLINE is the definite pointers regarding existence or not. */#ifdef HAVE_LIBREADLINE#define USE_READLINE 1#if defined(HAVE_READLINE_READLINE_H)#include <readline/readline.h>#elif defined(HAVE_EDITLINE_READLINE_H)#include <editline/readline.h>#elif defined(HAVE_READLINE_H)#include <readline.h>#endif#if defined(HAVE_READLINE_HISTORY_H)#include <readline/history.h>#elif defined(HAVE_EDITLINE_HISTORY_H)#include <editline/history.h>#elif defined(HAVE_HISTORY_H)#include <history.h>#endif#endifchar	   *gets_interactive(const char *prompt);char	   *gets_fromFile(FILE *source);void		initializeInput(int flags);bool		saveHistory(char *fname);#endif   /* INPUT_H */

⌨️ 快捷键说明

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