Plan 9 from Bell Labs’s /usr/web/sources/contrib/rsc/linuxemu/libc/linux/9/dup.c
#include <u.h> #include <libc.h> #include "../syscall/syscall.h" int dup(int oldfd, int newfd) { return linuxdup2(oldfd, newfd); }