vidattr.c

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· C语言 代码 · 共 25 行

C
25 行
字号
#ifdef lintstatic char *sccsid = "@(#)vidattr.c	4.1	(ULTRIX)	7/2/90";#endif lint/* * Handy function to put out a string with padding. * It makes two assumptions: *	(1) Output is via stdio to stdout through putchar. *	(2) There is no count of affected lines.  Thus, this *	    routine is only valid for certain capabilities, *	    i.e. those that don't have *'s in the documentation. */#include <stdio.h>extern	int	_outchar();/* * Handy way to output video attributes. */vidattr(newmode)int newmode;{	vidputs(newmode, _outchar);}

⌨️ 快捷键说明

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