⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 print.c

📁 操作系统源代码
💻 C
字号:
/* * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. * See the copyright notice in the ACK home directory, in the file "Copyright". *//* $Header: print.c,v 1.6 91/03/11 14:33:01 ceriel Exp $ */#if __STDC__#include <stdarg.h>#else#include <varargs.h>#endif#include <system.h>#include "param.h"/*VARARGS*//*FORMAT0v $	%s = char *	%l = long	%c = int	%[uxbo] = unsigned int	%d = int$ */int#if __STDC__print(char *fmt, ...)#elseprint(fmt, va_alist)	char *fmt;	va_dcl#endif{	va_list args;	char buf[SSIZE];#if __STDC__	va_start(args, fmt);#else	va_start(args);#endif	sys_write(STDOUT, buf, _format(buf, fmt, args));	va_end(args);}

⌨️ 快捷键说明

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