Home | History | Annotate | Download | only in win32

Lines Matching defs:ERR

25 char* adb_strerror(int err) {
37 errmsg = strerror(err);
44 switch (err) {
45 #pragma push_macro("ERR")
46 #undef ERR
47 #define ERR(errnum, desc) case errnum: custom_msg = desc; break
51 ERR(ECONNRESET, "Connection reset by peer");
52 ERR(EHOSTUNREACH, "No route to host");
53 ERR(ENETDOWN, "Network is down");
54 ERR(ENETRESET, "Network dropped connection because of reset");
55 ERR(ENOBUFS, "No buffer space available");
56 ERR(ENOPROTOOPT, "Protocol not available");
57 ERR(ENOTCONN, "Transport endpoint is not connected");
58 ERR(ENOTSOCK, "Socket operation on non-socket");
59 ERR(EOPNOTSUPP, "Operation not supported on transport endpoint");
60 #pragma pop_macro("ERR")
83 errmsg = strerror(err);
86 // We don't have a custom message, so use whatever strerror(err)