Thread (14 messages) 14 messages, 3 authors, 2025-06-23

[PATCH 2/3] man/man3/ftime.3: Declare ftime with [[deprecated]].

From: Collin Funk <hidden>
Date: 2025-06-19 04:22:31
Subsystem: the rest · Maintainer: Linus Torvalds

This function was marked as legacy in POSIX.1-2001 and has been removed
from many systems, including glibc.

Signed-off-by: Collin Funk <redacted>
---
 man/man3/ftime.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/man/man3/ftime.3 b/man/man3/ftime.3
index a34b15888..8ae808ec2 100644
--- a/man/man3/ftime.3
+++ b/man/man3/ftime.3
@@ -13,7 +13,7 @@ .SH SYNOPSIS
 .nf
 .B "#include <sys/timeb.h>"
 .P
-.BI "int ftime(struct timeb *" tp );
+.BI "[[deprecated]] int ftime(struct timeb *" tp );
 .fi
 .SH DESCRIPTION
 .BR NOTE :
-- 
2.49.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help