aboutsummaryrefslogtreecommitdiffstats
path: root/man3/ftime.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2019-11-23 10:38:28 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2019-11-23 10:38:28 +0100
commit0f18a233a3deadf822e5dc778cba27a210d8c30e (patch)
treebf417a1e4b58ef45e8e8860de9b5ba08655a4f08 /man3/ftime.3
parent97883faea283824f7afb65b929d278c449b824ae (diff)
downloadman-pages-0f18a233a3deadf822e5dc778cba27a210d8c30e.tar.gz
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>
Diffstat (limited to 'man3/ftime.3')
-rw-r--r--man3/ftime.37
1 files changed, 7 insertions, 0 deletions
diff --git a/man3/ftime.3 b/man3/ftime.3
index 5c8f7cc934..2bbab4f236 100644
--- a/man3/ftime.3
+++ b/man3/ftime.3
@@ -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