📄 signon.c
字号:
/*@A (C) 1992 Allen I. Holub */
#include <stdio.h>
#include <tools/debug.h>
#include <tools/hash.h>
#include <tools/set.h>
#include "parser.h"
#include "../version.h"
#if ( 0 UNIX(+1) )
#include "date.h" /* Otherwise use ANSI __DATE__ */
#endif
PUBLIC void signon()
{
/* Print the sign-on message. Note that since the console is opened
* explicitly, the message is printed even if both stdout and stderr are
* redirected.
*/
FILE *screen;
if( !(screen = fopen( UNIX("/dev/tty") MS("con:"), "w")) )
screen = stderr;
fprintf(screen,"%s %s (c) %s, Allen I. Holub. All rights reserved.\n",
LL("LLAMA") OX("OCCS"), VERSION, __DATE__);
if( screen != stderr )
fclose(screen);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -