You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Manvendra Bhangui edited this page Feb 25, 2024
·
4 revisions
NAME
fd_move - renumber a descriptor
SYNTAX
#include <fd.h>
int fd_move(to,from);
int to;
int from;
DESCRIPTION
fd_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.