PatchworkOS
Loading...
Searching...
No Matches
dup2.c File Reference
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/io.h>
#include "common/print.h"
#include "user/common/syscalls.h"

Go to the source code of this file.

Functions

fd_t dup2 (fd_t oldFd, fd_t newFd)
 System call for duplicating file descriptors, with a destination.