📄 termerr.c
字号:
/* Copyright (c) 1984 AT&T *//* All Rights Reserved *//* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T *//* The copyright notice above does not evidence any *//* actual or intended publication of such source code. */#ifndef lintstatic char sccsid[] = "@(#)termerr.c 1.1 92/07/30 SMI"; /* from S5R3.1 1.3 */#endif#include "curses_inc.h"char *term_err_strings[] ={ "",#ifdef S5EMUL "/usr/share/lib/terminfo is unaccessible",#else "/usr/lib/terminfo is unaccessible",#endif "I don't know anything about your \"%s\" terminal", "corrupted terminfo entry", "terminfo entry too long", "TERMINFO pathname for device exceeds 1024 characters",#ifdef DEBUG "malloc returned NULL in function \"%s\"",#else /* DEBUG */ "malloc returned NULL",#endif /* DEBUG */ "terminfo file for \"%s\" terminal is not readable",};voidtermerr(){ (void) fprintf(stderr, "Sorry, "); (void) fprintf(stderr, term_err_strings[term_errno], term_parm_err); (void) fprintf(stderr, ".\r\n");}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -