mirror of https://github.com/mkerrisk/man-pages
ftime.3: glibc 2.33 has removed ftime()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
c751bb1e0f
commit
37fac7c6b2
12
man3/ftime.3
12
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).
|
||||
|
|
Loading…
Reference in New Issue