wen's blog

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)

Posted by xiao_wen86 at 6:44 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Home
Subscribe to: Post Comments (Atom)

Labels

  • cygwin (1)
  • information (1)
  • vim (1)

Blog Archive

  • ▼  2010 (7)
    • ▼  June (7)
      • Highlight code in blogger using syntaxhighlighter
      • Post highlight code in blog using vim
      • poderosa connected cygwin error
      • Important IT blog and search engine
      • Use email to post blog in google blogger
      • Solution for "ImportError: No module named vtkComm...
      • Convert between C FILE pointer and File descripter

About Me

xiao_wen86
View my complete profile
Powered by Blogger.