Fu Juntang
2021-09-17 5c912c70e9333298ff48f7ea15424f72ca977b99
src/bus_error.h
@@ -4,13 +4,24 @@
#define EBUS_BASE 10000
#define EBUS_TIMEOUT 10001
#define EBUS_CLOSED 10002
#define ESHM_BUS_KEY_INUSED 10003
#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
#define EBUS_STOPED 507
#define EBUS_EXCEED_LIMIT 508
#define EBUS_RES_UNSUPPORT  509
#define EBUS_RES_BUSY  510
#define EBUS_RES_NO  511
#define EBUS_INVALID_PARA  512
#define EBUS_NO_MEM       513
extern int bus_errno;
char *bus_strerror(int eno) ;
char *bus_strerror(int eno, int flag = 0);
void bus_errorset(int err);
#endif