summaryrefslogtreecommitdiff
path: root/dviware/umddvi/libcompat/dup2.c
blob: 9cb749b4ec096627958869916e2aef866403e2b1 (plain)
1
2
3
4
5
6
7
#include <sys/fcntl.h>

dup2(a, b)
{
	close(b);
	return(fcntl(a, F_DUPFD, b));
}