aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/cython/Cython/Includes/libc/stdio.pxd
diff options
context:
space:
mode:
authorAnton Samokhvalov <pg83@yandex.ru>2022-02-10 16:45:15 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:15 +0300
commit72cb13b4aff9bc9cf22e49251bc8fd143f82538f (patch)
treeda2c34829458c7d4e74bdfbdf85dff449e9e7fb8 /contrib/tools/cython/Cython/Includes/libc/stdio.pxd
parent778e51ba091dc39e7b7fcab2b9cf4dbedfb6f2b5 (diff)
downloadydb-72cb13b4aff9bc9cf22e49251bc8fd143f82538f.tar.gz
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/tools/cython/Cython/Includes/libc/stdio.pxd')
-rw-r--r--contrib/tools/cython/Cython/Includes/libc/stdio.pxd158
1 files changed, 79 insertions, 79 deletions
diff --git a/contrib/tools/cython/Cython/Includes/libc/stdio.pxd b/contrib/tools/cython/Cython/Includes/libc/stdio.pxd
index 1644a5a0ab..03ed475cd5 100644
--- a/contrib/tools/cython/Cython/Includes/libc/stdio.pxd
+++ b/contrib/tools/cython/Cython/Includes/libc/stdio.pxd
@@ -1,80 +1,80 @@
-# 7.19 Input/output <stdio.h>
-
-
-# deprecated cimports for backwards compatibility:
-from libc.string cimport const_char, const_void
-
-
+# 7.19 Input/output <stdio.h>
+
+
+# deprecated cimports for backwards compatibility:
+from libc.string cimport const_char, const_void
+
+
cdef extern from "<stdio.h>" nogil:
-
- ctypedef struct FILE
- cdef FILE *stdin
- cdef FILE *stdout
- cdef FILE *stderr
-
- enum: FOPEN_MAX
- 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)
- FILE *tmpfile ()
-
- int remove (const char *pathname)
- int rename (const char *oldpath, const char *newpath)
-
- enum: _IOFBF
- enum: _IOLBF
- enum: _IONBF
- int setvbuf (FILE *stream, char *buf, int mode, size_t size)
- enum: BUFSIZ
- void setbuf (FILE *stream, char *buf)
-
- size_t fread (void *data, size_t size, size_t count, FILE *stream)
- size_t fwrite (const void *data, size_t size, size_t count, FILE *stream)
- int fflush (FILE *stream)
-
- enum: EOF
- void clearerr (FILE *stream)
- int feof (FILE *stream)
- int ferror (FILE *stream)
-
- enum: SEEK_SET
- enum: SEEK_CUR
- enum: SEEK_END
- int fseek (FILE *stream, long int offset, int whence)
- void rewind (FILE *stream)
- long int ftell (FILE *stream)
-
- ctypedef struct fpos_t
- ctypedef const fpos_t const_fpos_t "const fpos_t"
- int fgetpos (FILE *stream, fpos_t *position)
- int fsetpos (FILE *stream, const fpos_t *position)
-
- int scanf (const char *template, ...)
- int sscanf (const char *s, const char *template, ...)
- int fscanf (FILE *stream, const char *template, ...)
-
- int printf (const char *template, ...)
- int sprintf (char *s, const char *template, ...)
- int snprintf (char *s, size_t size, const char *template, ...)
- int fprintf (FILE *stream, const char *template, ...)
-
- void perror (const char *message)
-
- char *gets (char *s)
- char *fgets (char *s, int count, FILE *stream)
- int getchar ()
- 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)
-
- size_t getline(char **lineptr, size_t *n, FILE *stream)
+
+ ctypedef struct FILE
+ cdef FILE *stdin
+ cdef FILE *stdout
+ cdef FILE *stderr
+
+ enum: FOPEN_MAX
+ 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)
+ FILE *tmpfile ()
+
+ int remove (const char *pathname)
+ int rename (const char *oldpath, const char *newpath)
+
+ enum: _IOFBF
+ enum: _IOLBF
+ enum: _IONBF
+ int setvbuf (FILE *stream, char *buf, int mode, size_t size)
+ enum: BUFSIZ
+ void setbuf (FILE *stream, char *buf)
+
+ size_t fread (void *data, size_t size, size_t count, FILE *stream)
+ size_t fwrite (const void *data, size_t size, size_t count, FILE *stream)
+ int fflush (FILE *stream)
+
+ enum: EOF
+ void clearerr (FILE *stream)
+ int feof (FILE *stream)
+ int ferror (FILE *stream)
+
+ enum: SEEK_SET
+ enum: SEEK_CUR
+ enum: SEEK_END
+ int fseek (FILE *stream, long int offset, int whence)
+ void rewind (FILE *stream)
+ long int ftell (FILE *stream)
+
+ ctypedef struct fpos_t
+ ctypedef const fpos_t const_fpos_t "const fpos_t"
+ int fgetpos (FILE *stream, fpos_t *position)
+ int fsetpos (FILE *stream, const fpos_t *position)
+
+ int scanf (const char *template, ...)
+ int sscanf (const char *s, const char *template, ...)
+ int fscanf (FILE *stream, const char *template, ...)
+
+ int printf (const char *template, ...)
+ int sprintf (char *s, const char *template, ...)
+ int snprintf (char *s, size_t size, const char *template, ...)
+ int fprintf (FILE *stream, const char *template, ...)
+
+ void perror (const char *message)
+
+ char *gets (char *s)
+ char *fgets (char *s, int count, FILE *stream)
+ int getchar ()
+ 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)
+
+ size_t getline(char **lineptr, size_t *n, FILE *stream)