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 "converting" a fd into a FILE* or is there a mkstemp version that returns a FILE*?
해결책
fdopen()
is the function you are looking for.
제휴하지 않습니다 StackOverflow