Function gkfs::syscall::gkfs_dup2
Defined in File gkfs_functions.cpp
Function Documentation
-
int gkfs::syscall::gkfs_dup2(int oldfd, int newfd)
gkfs wrapper for dup2() system calls errno may be set
- Parameters
oldfd –
newfd –
- Returns
file descriptor int or -1 on error