Descriptionfdopen produces a file descriptor of type FILE *, from a
descriptor for an already-open file (returned, for example, by the
system subroutine open rather than by fopen).
The mode argument has the same meanings as in fopen.