Is there a way of converting a fd into a FILE* or is there a mkstemp version that returns a FILE*?

StackOverflow https://stackoverflow.com/questions/4487298

  •  11-10-2019
  •  | 
  •  

Pergunta

Is there a way of "converting" a fd into a FILE* or is there a mkstemp version that returns a FILE*?

Foi útil?

Solução

fdopen() is the function you are looking for.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top