From 37fac7c6b20379021bed5e82508900bf2565b31f Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sat, 24 Oct 2020 19:24:01 +0200 Subject: [PATCH] ftime.3: glibc 2.33 has removed ftime() Signed-off-by: Michael Kerrisk --- man3/ftime.3 | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/man3/ftime.3 b/man3/ftime.3 index cb11110eb..fa28daccd 100644 --- a/man3/ftime.3 +++ b/man3/ftime.3 @@ -36,8 +36,7 @@ ftime \- return date and time .BI "int ftime(struct timeb *" tp ); .SH DESCRIPTION .BR NOTE : -This function is deprecated, and will be removed in a future version of -the GNU C library. +This function is no longer provided by the GNU C library. Use .BR clock_gettime (2) instead. @@ -74,6 +73,15 @@ fields are unspecified; avoid relying on them. .SH RETURN VALUE This function always returns 0. (POSIX.1-2001 specifies, and some systems document, a \-1 error return.) +.SH VERSIONS +Starting with glibc 2.33, the +.BR ftime () +function and the +.I +header have been removed. +To support old binaries, +glibc contines to provide a compatibility symbol for +applications linked against glibc 2.32 and earlier. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7).