Commit 7f97d71e authored by Josh Ayers's avatar Josh Ayers

Added some missing declarations to libc/stdio.pxd.

parent c144c807
......@@ -20,7 +20,10 @@ cdef extern from "stdio.h" nogil:
int fclose (FILE *stream)
int remove (const char *filename)
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: _IOLBF
......@@ -34,8 +37,9 @@ cdef extern from "stdio.h" nogil:
int fflush (FILE *stream)
enum: EOF
int feof (FILE *stream)
int ferror (FILE *stream)
void clearerr (FILE *stream)
int feof (FILE *stream)
int ferror (FILE *stream)
enum: SEEK_SET
enum: SEEK_CUR
......@@ -62,6 +66,15 @@ cdef extern from "stdio.h" nogil:
char *gets (char *s)
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 fputs (const char *s, FILE *stream)
int putchar (int c)
int fputc (int c, FILE *stream)
int putc (int c, FILE *stream)
int puts (const char *s)
int fputs (const char *s, 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