From ec2f1fddf29053957d061dfe310f106388472a4f Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Wed, 15 Jul 2020 12:37:01 +0200 Subject: 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 Reviewed-by: Carlos O'Donell --- include/stdio.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'include') diff --git a/include/stdio.h b/include/stdio.h index ede0f3d444..2e0dc80c16 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; -- cgit v1.2.3