error.c
来自「操作系统源代码」· C语言 代码 · 共 24 行
C
24 行
/* * Copyright (C) 1989 by Kenneth Almquist. All rights reserved. * This file is part of ash, which is distributed under the terms specified * by the Ash General Public License. See the file named LICENSE. */#include <stdio.h>char *commandname;void#ifdef __STDC__error(char *msg, ...) {#elseerror(msg) char *msg; {#endif fprintf(stderr, "%s: %s\n", commandname, msg); exit(2);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?