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