1 2 3 4 5 6 7 8 9 10 11 12 13 14
/* ISC license. */ #include <skalibs/bsdsnowflake.h> #include <errno.h> #include <skalibs/error.h> int error_isalready (int e) { return e == EALREADY || e == EINPROGRESS #ifdef SKALIBS_BSD_SUCKS || e == EADDRINUSE #endif ; }