aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/sys/sysvi386/dup.c
blob: 95b0a5c92755f60ff4f01d4691479e882ee18396 (plain)
1
2
3
4
5
6
#include <fcntl.h>

int
dup (int fd1) {
	return (fcntl (fd1, F_DUPFD, 0));
}