Function gkfs::syscall::gkfs_dup

Function Documentation

int gkfs::syscall::gkfs_dup(int oldfd)

gkfs wrapper for dup() system calls errno may be set

Parameters

oldfd

Returns

file descriptor int or -1 on error