#include #include "syscall.h" int dup(int fd) { return syscall(SYS_dup, fd); } #ifdef TEST int main(void) { return 0; } #endif