All of lore.kernel.org
 help / color / mirror / Atom feed
From: Collin Funk <collin.funk1@gmail.com>
To: Alejandro Colomar <alx@kernel.org>
Cc: linux-man@vger.kernel.org
Subject: Re: [PATCH 3/3] man/man3/ftime.3: Correct POSIX standards in HISTORY.
Date: Sun, 22 Jun 2025 19:48:54 -0700	[thread overview]
Message-ID: <874iw7xje1.fsf@gmail.com> (raw)
In-Reply-To: <ah3tltckbeelmrxwfmjkctjzolybkb7uqhvrvirm4d3oxupmww@7eiekyd6tq23>

[-- Attachment #1: Type: text/plain, Size: 1265 bytes --]

Alejandro Colomar <alx@kernel.org> 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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2025-06-23  2:48 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-19  4:22 [PATCH 1/3] man/man2/gettimeofday.2: Declare gettimeofday with [[deprecated]] Collin Funk
2025-06-19  4:22 ` [PATCH 2/3] man/man3/ftime.3: Declare ftime " Collin Funk
2025-06-23  0:45   ` Alejandro Colomar
2025-06-19  4:22 ` [PATCH 3/3] man/man3/ftime.3: Correct POSIX standards in HISTORY Collin Funk
2025-06-23  0:53   ` Alejandro Colomar
2025-06-23  2:48     ` Collin Funk [this message]
2025-06-19 11:12 ` [PATCH 1/3] man/man2/gettimeofday.2: Declare gettimeofday with [[deprecated]] Alejandro Colomar
2025-06-19 17:54   ` Collin Funk
2025-06-19 22:20     ` Alejandro Colomar
2025-06-19 22:55       ` Collin Funk
2025-06-19 22:43 ` [PATCH v2] man/man2/gettimeofday.2: Declare functions " Collin Funk
2025-06-23  0:42   ` Alejandro Colomar
2025-06-23  2:42     ` Collin Funk
2025-06-23  3:09       ` G. Branden Robinson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874iw7xje1.fsf@gmail.com \
    --to=collin.funk1@gmail.com \
    --cc=alx@kernel.org \
    --cc=linux-man@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.