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

Re: [PATCH 3/3] man/man3/ftime.3: Correct POSIX standards in HISTORY.

From: Collin Funk <hidden>
Date: 2025-06-23 02:48:56

Alejandro Colomar [off-list ref] writes:
The old page didn't say it was removed in POSIX.1-2001.

	$ man -w ftime \
	| xargs mansect HISTORY \
	| MANWIDTH=64 man /dev/stdin \
	| cat;
	ftime(3)            Library Functions Manual           ftime(3)

	HISTORY
	       Removed  in  glibc 2.33.  4.2BSD, POSIX.1‐2001.  Removed
	       in POSIX.1‐2008.

	       This function is obsolete.  Don’t use it.  If  the  time
	       in  seconds  suffices,  time(2)  can be used; gettimeof‐
	       day(2)  gives   microseconds;   clock_gettime(2)   gives
	       nanoseconds but is not as widely available.

	Linux man‐pages 6.14‐18... 2025‐05‐17                  ftime(3)

However, I agree that the order of the text could be confusing.  I like
yours better, but how about moving 4.2BSD to the begining to improve it
further?
Oops, I must have interpreted that period as a comma.

I agree re-ordering will make it more clear, so I sent a new patch [1].

I realize now after sending it that the commit message should be
s/STANDARDS/HISTORY/ though...

Collin

[1] https://lore.kernel.org/linux-man/fcc66f4d8694f933a71688ad529e6f4f43024658.1750646692.git.collin.funk1@gmail.com/T/#u (local)

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help