Query: fd_move
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
fd_move(3) Library Functions Manual fd_move(3)NAMEfd_move - renumber a descriptorSYNTAX#include <fd.h> int fd_move(to,from); int to; int from;DESCRIPTIONfd_move moves descriptor from to descriptor to. If to was already open, fd_move closes it. If the move is successful, fd_move closes from. Exception: if to and from are the same number, fd_move does nothing. fd_move returns 0 on success, -1 on error.SEE ALSOdup(2), fd_copy(3) fd_move(3)
Related Man Pages |
---|
dup(2) - mojave |
dup(2) - opensolaris |
dup2(2) - redhat |
dup(2) - freebsd |
dup(2) - ultrix |
Similar Topics in the Unix Linux Community |
---|
EOF checking the below |