Searched refs:oldfd (Results 1 – 5 of 5) sorted by relevance
127 static inline void fd_trans_dup(int oldfd, int newfd) in fd_trans_dup() argument131 if (oldfd < target_fd_max && target_fd_trans[oldfd]) { in fd_trans_dup()132 internal_fd_trans_register_unsafe(newfd, target_fd_trans[oldfd]); in fd_trans_dup()
18 int SysImpl::dup(int oldfd) const in dup()20 return ::dup(oldfd); in dup()
20 virtual int dup(int oldfd) const = 0;46 int dup(int oldfd) const override;
24 static int dup(int oldfd, const Sys* sys) in dup() argument26 int fd = sys->dup(oldfd); in dup()
153 @@ -196,7 +196,7 @@ int mousereopen(int oldfd, const char *name, Gpm_Type *type)