Implemented F_GETFD, F_SETFD of fcntl(2).