ANSI C does not have file descriptors. I haven't seen any need to map fds into FILE *s, but if there is one perhaps POSIX should deal with it.