Wednesday, June 23, 2010

Convert between C FILE pointer and File descripter

FILE* to file descripter:

int fileno(FILE *stream);

fd to FILE*

FILE *fdopen(int fd, const char *mode)

0 comments:

Post a Comment