HelenOS sources

F_DUPFD            53 uspace/lib/posix/src/fcntl.c 	case F_DUPFD:
F_DUPFD           382 uspace/lib/posix/src/unistd.c 	return fcntl(fildes, F_DUPFD, 0);
HelenOS homepage, sources at GitHub