ftime.3: Note that this function is deprecated

As noted in glibc 2.31 feature notes.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2019-11-23 10:38:28 +01:00
parent 97883faea2
commit 0f18a233a3
1 changed files with 7 additions and 0 deletions

View File

@ -35,6 +35,13 @@ ftime \- return date and time
.PP
.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.
Use
.BR clock_gettime (2)
instead.
.PP
This function returns the current time as seconds and milliseconds
since the Epoch, 1970-01-01 00:00:00 +0000 (UTC).
The time is returned in