?? perror.c
字號:
/* * perror.c - print an error message on the standard error output *//* $Header: /cvsup/minix/src/lib/stdio/perror.c,v 1.1.1.1 2005/04/21 14:56:36 beng Exp $ */#if defined(_POSIX_SOURCE)#include <sys/types.h>#endif#include <stdio.h>#include <errno.h>#include <stdio.h>#include <string.h>#include "loc_incl.h"ssize_t _write(int d, const char *buf, size_t nbytes);voidperror(const char *s){ char *p; int fd; p = strerror(errno); fd = fileno(stderr); fflush(stdout); fflush(stderr); if (s && *s) { _write(fd, s, strlen(s)); _write(fd, ": ", 2); } _write(fd, p, strlen(p)); _write(fd, "\n", 1);}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -