mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +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;
|
||
|
}
|