public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: Alejandro Colomar <alx@kernel.org>
To: Seth McDonald <sethmcmail@pm.me>
Cc: linux-man@vger.kernel.org
Subject: Re: [PATCH v1 12/15] man/man3type/id_t.3type: HISTORY: Mention change in datatypes of [pug]id_t(3type)
Date: Tue, 6 Jan 2026 15:12:58 +0100	[thread overview]
Message-ID: <aV0XZSgwGCE5G65j@devuan> (raw)
In-Reply-To: <00eec0f9aa43bd9337490c1150976223aa753754.1767675322.git.sethmcmail@pm.me>

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

Hi Seth,

On Tue, Jan 06, 2026 at 05:08:01PM +1000, Seth McDonald wrote:
> pid_t(3type), uid_t(3type), and gid_t(3type) were initially not
> specified as integer types, but as arithmetic types:
> 
> "All of the types listed in Table 2-1 shall be arithmetic types; pid_t
> shall be a signed arithmetic type."[1]
> 
> This technically means the types could be floating-point arithmetic
> types in systems conforming to early versions of POSIX.1.

But did any implementations do this?  As far as I know, there were none,
which turns this into something that was only true in paper, and can be
entirely ignored.


Cheers,
Alex

> [1] IEEE Std 1003.1-1988, Section 2.6 "Primitive System Data Types".
> 
> Signed-off-by: Seth McDonald <sethmcmail@pm.me>
> ---
>  man/man3type/id_t.3type | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/man/man3type/id_t.3type b/man/man3type/id_t.3type
> index c4b87642c755..ad79394b1b72 100644
> --- a/man/man3type/id_t.3type
> +++ b/man/man3type/id_t.3type
> @@ -50,6 +50,15 @@ .SH HISTORY
>  .TP
>  .I id_t
>  POSIX.1-2001.
> +.P
> +Initially, POSIX.1-1988 only specified
> +.IR pid_t ,
> +.IR uid_t ,
> +and
> +.IR gid_t
> +as arithmetic types.
> +It was from POSIX.1-2001
> +that they were restricted to integer types.
>  .SH NOTES
>  The following headers also provide
>  .IR pid_t :
> -- 
> 2.47.3
> 
> 

-- 
<https://www.alejandro-colomar.es>

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

  reply	other threads:[~2026-01-06 14:13 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-06  7:07 [PATCH v1 00/15] man/man3type/*: Update history of types A-INTN Seth McDonald
2026-01-06  7:07 ` [PATCH v1 01/15] man/man3type/aiocb.3type: HISTORY: Update first POSIX appearance of aiocb(3type) Seth McDonald
2026-01-06 13:56   ` Alejandro Colomar
2026-01-06  7:07 ` [PATCH v1 02/15] man/man3type/blk{cnt,size}_t.3type: HISTORY: Update first SUS appearance of blk{cnt,size}_t(3type) Seth McDonald
2026-01-06 13:57   ` Alejandro Colomar
2026-01-06  7:07 ` [PATCH v1 03/15] man/man3type/cc_t.3type: HISTORY: Update first POSIX appearance of types Seth McDonald
2026-01-06 13:57   ` Alejandro Colomar
2026-01-06  7:07 ` [PATCH v1 04/15] man/man3type/clockid_t.3type: HISTORY: Update first POSIX appearance of clockid_t(3type) Seth McDonald
2026-01-06 13:57   ` Alejandro Colomar
2026-01-06  7:07 ` [PATCH v1 05/15] man/man3type/clock_t.3type: HISTORY: Update first POSIX appearance of clock_t(3type) Seth McDonald
2026-01-06 13:58   ` Alejandro Colomar
2026-01-06  7:07 ` [PATCH v1 06/15] man/man3type/dev_t.3type: HISTORY: Update first POSIX appearance of dev_t(3type) Seth McDonald
2026-01-06 13:58   ` Alejandro Colomar
2026-01-06  7:07 ` [PATCH v1 07/15] man/man3type/div_t.3type: HISTORY: Split [l]div_t(3type) and {ll,imax}div_t(3type) Seth McDonald
2026-01-06 14:03   ` Alejandro Colomar
2026-01-06  7:07 ` [PATCH v1 08/15] man/man3type/div_t.3type: HISTORY: Update first SUS appearance of [l]div_t(3type) Seth McDonald
2026-01-06  7:07 ` [PATCH v1 09/15] man/man3type/FILE.3type: HISTORY: Update first POSIX appearance of FILE(3type) Seth McDonald
2026-01-06 14:06   ` Alejandro Colomar
2026-01-06  7:07 ` [PATCH v1 10/15] man/man3type/id_t.3type: HISTORY: Split id_t(3type) from [pug]id_t(3type) Seth McDonald
2026-01-06 14:07   ` Alejandro Colomar
2026-01-06  7:08 ` [PATCH v1 11/15] man/man3type/id_t.3type: HISTORY: Update first POSIX appearance of [pug]id_t(3type) Seth McDonald
2026-01-06 14:07   ` Alejandro Colomar
2026-01-06  7:08 ` [PATCH v1 12/15] man/man3type/id_t.3type: HISTORY: Mention change in datatypes " Seth McDonald
2026-01-06 14:12   ` Alejandro Colomar [this message]
2026-01-07  1:54     ` Collin Funk
2026-01-07  2:08     ` Seth McDonald
2026-01-07  7:55       ` Alejandro Colomar
2026-01-06  7:08 ` [PATCH v1 13/15] man/man3type/id_t.3type: HISTORY: Update first POSIX appearance of id_t(3type) Seth McDonald
2026-01-06  7:08 ` [PATCH v1 14/15] man/man3type/intN_t.3type: HISTORY: Split types and macros Seth McDonald
2026-01-06 14:16   ` Alejandro Colomar
2026-01-06  7:08 ` [PATCH v1 15/15] man/man3type/intN_t.3type: HISTORY: Update first SUS appearance of [u]intN_t(3type) Seth McDonald
2026-01-06 14:17   ` Alejandro Colomar
2026-01-06 12:34 ` [PATCH v1 00/15] man/man3type/*: Update history of types A-INTN Alejandro Colomar
2026-01-06 14:18   ` Alejandro Colomar
2026-01-07  3:33   ` Seth McDonald
2026-01-07  7:57     ` Alejandro Colomar

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=aV0XZSgwGCE5G65j@devuan \
    --to=alx@kernel.org \
    --cc=linux-man@vger.kernel.org \
    --cc=sethmcmail@pm.me \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox