wangzhengquan
2021-02-03 f1ae0552e2d50ce6f87a0bad2f31b8e2ec617bb7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef __BUS_ERROR_H__
#define __BUS_ERROR_H__
 
 
 
 
#define EBUS_BASE 500
#define EBUS_TIMEOUT 501
#define EBUS_CLOSED 502
#define EBUS_KEY_INUSED 503
#define EBUS_NET 504
#define EBUS_SENDTO_SELF 505
#define EBUS_RECVFROM_WRONG_END 506
 
extern int bus_errno;
 
char *bus_strerror(int eno) ;
 
#endif