add fdopen declaration to stdio.pxd
authorDmytro <belevtsoff@gmail.com>
Tue, 12 Mar 2013 20:54:53 +0000 (21:54 +0100)
committerDmytro <belevtsoff@gmail.com>
Tue, 12 Mar 2013 20:54:53 +0000 (21:54 +0100)
Cython/Includes/libc/stdio.pxd

index d640c0b..93bab2f 100644 (file)
@@ -16,6 +16,7 @@ cdef extern from "stdio.h" nogil:
     enum: FILENAME_MAX
     FILE *fopen   (const char *filename, const char  *opentype)
     FILE *freopen (const char *filename, const char *opentype, FILE *stream)
+    FILE *fdopen  (int fdescriptor, const char *opentype)
     int  fclose   (FILE *stream)
     int  remove   (const char *filename)
     int  rename   (const char *oldname, const char *newname)