From: Dmytro Date: Tue, 12 Mar 2013 20:54:53 +0000 (+0100) Subject: add fdopen declaration to stdio.pxd X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0537679c43079a6c6ea63ab2bc81d9bb0f04e9dc;p=platform%2Fupstream%2Fpython-cython.git add fdopen declaration to stdio.pxd --- diff --git a/Cython/Includes/libc/stdio.pxd b/Cython/Includes/libc/stdio.pxd index d640c0b..93bab2f 100644 --- a/Cython/Includes/libc/stdio.pxd +++ b/Cython/Includes/libc/stdio.pxd @@ -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)