Is there a way of converting a fd into a FILE* or is there a mkstemp version that returns a FILE*?
Is there a way of开发者_JAVA百科 "converting" a fd into a FILE* or is there a mkstemp version that returns a FILE*?
fdopen()
is the function you are looking for.
精彩评论