grep 'x' /user 查询在user目录下

1#include<stdio.h>2#include<errno.h>3intmain()4{5inti=0;6while(i<100)7{8printf("errno:%d,errormessage:%s\n",i,strerror(i));9i++;10}11return0;12}

Linux下,大概有100多种错误码