#include "wrap.h" #include #include int m3_shutdown(int s, int how) { int result; ENTER_CRITICAL; result = shutdown(s, how); EXIT_CRITICAL; return result; }