mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
14 lines
153 B
C
14 lines
153 B
C
|
#include "wrap.h"
|
||
|
#include <unistd.h>
|
||
|
|
||
|
int
|
||
|
m3_dup(int oldd)
|
||
|
{
|
||
|
int result;
|
||
|
|
||
|
ENTER_CRITICAL;
|
||
|
result = dup(oldd);
|
||
|
EXIT_CRITICAL;
|
||
|
return result;
|
||
|
}
|