aboutsummaryrefslogtreecommitdiffstats
path: root/man3/ftime.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2020-10-24 19:24:01 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2020-12-22 12:08:09 +0100
commit37fac7c6b20379021bed5e82508900bf2565b31f (patch)
tree3d56cb98ff56119d621bb04e286aea1c4b2bcc9d /man3/ftime.3
parentc751bb1e0f396f29b0c4e23610351fe36eb7b43a (diff)
downloadman-pages-37fac7c6b20379021bed5e82508900bf2565b31f.tar.gz
ftime.3: glibc 2.33 has removed ftime()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3/ftime.3')
-rw-r--r--man3/ftime.312
1 files changed, 10 insertions, 2 deletions
diff --git a/man3/ftime.3 b/man3/ftime.3
index cb11110eb0..fa28daccd7 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 <sys/timeb.h>
+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).