diff options
author | orivej <orivej@yandex-team.ru> | 2022-02-10 16:45:01 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:01 +0300 |
commit | 2d37894b1b037cf24231090eda8589bbb44fb6fc (patch) | |
tree | be835aa92c6248212e705f25388ebafcf84bc7a1 /contrib/tools/cython/Cython/Includes/posix/stdio.pxd | |
parent | 718c552901d703c502ccbefdfc3c9028d608b947 (diff) | |
download | ydb-2d37894b1b037cf24231090eda8589bbb44fb6fc.tar.gz |
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/tools/cython/Cython/Includes/posix/stdio.pxd')
-rw-r--r-- | contrib/tools/cython/Cython/Includes/posix/stdio.pxd | 74 |
1 files changed, 37 insertions, 37 deletions
diff --git a/contrib/tools/cython/Cython/Includes/posix/stdio.pxd b/contrib/tools/cython/Cython/Includes/posix/stdio.pxd index 327fbb3cb6..53913fdf45 100644 --- a/contrib/tools/cython/Cython/Includes/posix/stdio.pxd +++ b/contrib/tools/cython/Cython/Includes/posix/stdio.pxd @@ -1,37 +1,37 @@ -# POSIX additions to <stdio.h>. -# http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/stdio.h.html - -from libc.stdio cimport FILE -from libc.stddef cimport wchar_t -from posix.types cimport off_t - -cdef extern from "<stdio.h>" nogil: - # File descriptors - FILE *fdopen(int, const char *) - int fileno(FILE *) - - # Pipes - FILE *popen(const char *, const char *) - int pclose(FILE *) - - # Memory streams (POSIX.2008) - FILE *fmemopen(void *, size_t, const char *) - FILE *open_memstream(char **, size_t *) - FILE *open_wmemstream(wchar_t **, size_t *) - - # Seek and tell with off_t - int fseeko(FILE *, off_t, int) - off_t ftello(FILE *) - - # Locking (for multithreading) - void flockfile(FILE *) - int ftrylockfile(FILE *) - void funlockfile(FILE *) - int getc_unlocked(FILE *) - int getchar_unlocked() - int putc_unlocked(int, FILE *) - int putchar_unlocked(int) - - # Reading lines and records (POSIX.2008) - ssize_t getline(char **, size_t *, FILE *) - ssize_t getdelim(char **, size_t *, int, FILE *) +# POSIX additions to <stdio.h>. +# http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/stdio.h.html + +from libc.stdio cimport FILE +from libc.stddef cimport wchar_t +from posix.types cimport off_t + +cdef extern from "<stdio.h>" nogil: + # File descriptors + FILE *fdopen(int, const char *) + int fileno(FILE *) + + # Pipes + FILE *popen(const char *, const char *) + int pclose(FILE *) + + # Memory streams (POSIX.2008) + FILE *fmemopen(void *, size_t, const char *) + FILE *open_memstream(char **, size_t *) + FILE *open_wmemstream(wchar_t **, size_t *) + + # Seek and tell with off_t + int fseeko(FILE *, off_t, int) + off_t ftello(FILE *) + + # Locking (for multithreading) + void flockfile(FILE *) + int ftrylockfile(FILE *) + void funlockfile(FILE *) + int getc_unlocked(FILE *) + int getchar_unlocked() + int putc_unlocked(int, FILE *) + int putchar_unlocked(int) + + # Reading lines and records (POSIX.2008) + ssize_t getline(char **, size_t *, FILE *) + ssize_t getdelim(char **, size_t *, int, FILE *) |