report.c

来自「minix操作系统最新版本(3.1.1)的源代码」· C语言 代码 · 共 21 行

C
21
字号
#include "sysutil.h" /*===========================================================================* *				    report					     * *===========================================================================*/PUBLIC void report(who, mess, num)char *who;				/* server identification */char *mess;				/* message format to print */int num;				/* number to go with the message */{/* Display a message for a server. */   if (num != NO_NUM) {      printf("%s: %s %d\n", who, mess, num);  } else {      printf("%s: %s\n", who, mess);  }}

⌨️ 快捷键说明

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