#include "wrap.h" #include #include int m3_bind(int s, const struct sockaddr *name, int namelen) { int result; ENTER_CRITICAL; MAKE_READABLE(name); result = bind(s, name, namelen); EXIT_CRITICAL; return result; }