#include "wrap.h" #include int m3_dup(int oldd) { int result; ENTER_CRITICAL; result = dup(oldd); EXIT_CRITICAL; return result; }