diff options
author | Florian Weimer <fweimer@redhat.com> | 2020-07-15 12:37:01 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2020-07-21 07:34:50 +0200 |
commit | ec2f1fddf29053957d061dfe310f106388472a4f (patch) | |
tree | 84fb5d2cd2ae3b41aeb52609eb97d52bd05dccb3 /include | |
parent | 00bc6830e3fe3f10495917afe0835ddd19133c6a (diff) | |
download | glibc-ec2f1fddf29053957d061dfe310f106388472a4f.zip glibc-ec2f1fddf29053957d061dfe310f106388472a4f.tar.gz glibc-ec2f1fddf29053957d061dfe310f106388472a4f.tar.bz2 |
libio: Remove __libc_readline_unlocked
__nss_readline supersedes it. This reverts part of commit
3f5e3f5d066dcffb80af48ae2cf35a01a85a8f10 ("libio: Implement
internal function __libc_readline_unlocked"). The internal
aliases __fseeko64 and __ftello64 are preserved because
they are needed by __nss_readline as well.
Tested-by: Carlos O'Donell <carlos@redhat.com>
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/stdio.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/stdio.h b/include/stdio.h index ede0f3d..2e0dc80 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -179,19 +179,6 @@ int __vfxprintf (FILE *__fp, const char *__fmt, __gnuc_va_list, unsigned int) attribute_hidden; -/* Read the next line from FP into BUFFER, of LENGTH bytes. LINE will - include the line terminator and a NUL terminator. On success, - return the length of the line, including the line terminator, but - excluding the NUL termintor. On EOF, return zero and write a NUL - terminator. On error, return -1 and set errno. If the total byte - count (line and both terminators) exceeds LENGTH, return -1 and set - errno to ERANGE (but do not mark the stream as failed). - - The behavior is undefined if FP is not seekable, or if the stream - is already in an error state. */ -ssize_t __libc_readline_unlocked (FILE *fp, char *buffer, size_t length); -libc_hidden_proto (__libc_readline_unlocked); - extern const char *const _sys_errlist_internal[] attribute_hidden; extern const char *__get_errlist (int) attribute_hidden; extern const char *__get_errname (int) attribute_hidden; |