-
大小: 2.78MB文件類型: .gz金幣: 1下載: 0 次發布日期: 2023-10-27
- 語言: 其他
- 標簽: readline-7.0??JLINK??
資源簡介
readline-7.0.tar.gz
代碼片段和文件信息
/*?bind.c?--?key?binding?and?startup?file?support?for?the?readline?library.?*/
/*?Copyright?(C)?1987-2016?Free?Software?Foundation?Inc.
???This?file?is?part?of?the?GNU?Readline?Library?(Readline)?a?library
???for?reading?lines?of?text?with?interactive?input?and?history?editing.
???Readline?is?free?software:?you?can?redistribute?it?and/or?modify
???it?under?the?terms?of?the?GNU?General?Public?License?as?published?by
???the?Free?Software?Foundation?either?version?3?of?the?License?or
???(at?your?option)?any?later?version.
???Readline?is?distributed?in?the?hope?that?it?will?be?useful
???but?WITHOUT?ANY?WARRANTY;?without?even?the?implied?warranty?of
???MERCHANTABILITY?or?FITNESS?FOR?A?PARTICULAR?PURPOSE.??See?the
???GNU?General?Public?License?for?more?details.
???You?should?have?received?a?copy?of?the?GNU?General?Public?License
???along?with?Readline.??If?not?see? .
*/
#define?READLINE_LIBRARY
#if?defined?(__TANDEM)
#??include?
#endif
#if?defined?(HAVE_CONFIG_H)
#??include?
#endif
#include?
#include?
#include?
#if?defined?(HAVE_SYS_FILE_H)
#??include?
#endif?/*?HAVE_SYS_FILE_H?*/
#if?defined?(HAVE_UNISTD_H)
#??include?
#endif?/*?HAVE_UNISTD_H?*/
#if?defined?(HAVE_STDLIB_H)
#??include?
#else
#??include?“ansi_stdlib.h“
#endif?/*?HAVE_STDLIB_H?*/
#include?
#if?!defined?(errno)
extern?int?errno;
#endif?/*?!errno?*/
#include?“posixstat.h“
/*?System-specific?feature?definitions?and?include?files.?*/
#include?“rldefs.h“
/*?Some?standard?library?routines.?*/
#include?“readline.h“
#include?“history.h“
#include?“rlprivate.h“
#include?“rlshell.h“
#include?“xmalloc.h“
#if?!defined?(strchr)?&&?!defined?(__STDC__)
extern?char?*strchr?()?*strrchr?();
#endif?/*?!strchr?&&?!__STDC__?*/
/*?Variables?exported?by?this?file.?*/
Keymap?rl_binding_keymap;
static?int?_rl_skip_to_delim?PARAMS((char?*?int?int));
#if?defined?(USE_VARARGS)?&&?defined?(PREFER_STDARG)
static?void?_rl_init_file_error?(const?char?*?...)??__attribute__((__format__?(printf?1?2)));
#else
static?void?_rl_init_file_error?();
#endif
static?char?*_rl_read_file?PARAMS((char?*?size_t?*));
static?int?_rl_read_init_file?PARAMS((const?char?*?int));
static?int?glean_key_from_name?PARAMS((char?*));
static?int?find_boolean_var?PARAMS((const?char?*));
static?int?find_string_var?PARAMS((const?char?*));
static?char?*_rl_get_string_variable_value?PARAMS((const?char?*));
static?int?substring_member_of_array?PARAMS((const?char?*?const?char?*?const?*));
static?int?currently_reading_init_file;
/*?used?only?in?this?file?*/
static?int?_rl_prefer_visible_bell?=?1;
/*?****************************************************************?*/
/* ????*/
/* Binding?keys ????*/
/* ????*/
/*?****************************************************************?*/
/*?rl_add_defun?(char?*name?rl_command_func_t?*function?int?key)
???Add?NAME?to?the?list?of?named?fu
- 上一篇:U8 調試版Login組件包
- 下一篇:圖像去噪的一些論文 碩士論文
評論
共有 條評論