Commit b279324e authored by Josh Ayers's avatar Josh Ayers Committed by Stefan Behnel

Added some missing declarations to libc/stdio.pxd.

parent f7e9df29
...@@ -20,7 +20,10 @@ cdef extern from "stdio.h" nogil: ...@@ -20,7 +20,10 @@ cdef extern from "stdio.h" nogil:
int fclose (FILE *stream) int fclose (FILE *stream)
int remove (const char *filename) int remove (const char *filename)
int rename (const char *oldname, const char *newname) int rename (const char *oldname, const char *newname)
FILE *tmpfile () FILE *tmpfile (void)
int remove (const char *pathname)
int rename (const char *oldpath, const char *newpath)
enum: _IOFBF enum: _IOFBF
enum: _IOLBF enum: _IOLBF
...@@ -34,6 +37,7 @@ cdef extern from "stdio.h" nogil: ...@@ -34,6 +37,7 @@ cdef extern from "stdio.h" nogil:
int fflush (FILE *stream) int fflush (FILE *stream)
enum: EOF enum: EOF
void clearerr (FILE *stream)
int feof (FILE *stream) int feof (FILE *stream)
int ferror (FILE *stream) int ferror (FILE *stream)
...@@ -62,6 +66,15 @@ cdef extern from "stdio.h" nogil: ...@@ -62,6 +66,15 @@ cdef extern from "stdio.h" nogil:
char *gets (char *s) char *gets (char *s)
char *fgets (char *s, int count, FILE *stream) char *fgets (char *s, int count, FILE *stream)
int getchar (void)
int fgetc (FILE *stream)
int getc (FILE *stream)
int ungetc (int c, FILE *stream)
int puts (const char *s) int puts (const char *s)
int fputs (const char *s, FILE *stream) int fputs (const char *s, FILE *stream)
int putchar (int c)
int fputc (int c, FILE *stream)
int putc (int c, FILE *stream)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment