Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dup.c « sysvi386 « sys « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 95b0a5c92755f60ff4f01d4691479e882ee18396 (plain)
1
2
3
4
5
6
#include <fcntl.h>

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