#include "wrap.h" #include int m3_close(int d) { int result; ENTER_CRITICAL; result = close(d); EXIT_CRITICAL; return result; }