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

📄 perror.c

📁 基于4个mips核的noc设计
💻 C
字号:
/* * lib-src/ansi/stdio/perror.c * ANSI/ISO 9899-1990, Section 7.9.10.4. * * void perror(const char *s) * Print an error message to the standard error stream. */#include <stdio.h>#include <errno.h>#include "shared_libc.h"voidperror(const char *s){	if (s != NULL && *s != 0) {		fputs(s, stderr);		fputs(": ", stderr);	}	if ((unsigned)errno < _sys_nerr)		fputs((char *)_sys_errlist[errno], stderr);	else		fprintf(stderr, (char *)_sys_errformat, errno);	fputc('\n', stderr);}

⌨️ 快捷键说明

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