system_data_types.7: srcfix: add comment noting time_t difference in POSIX.1-2001

Paul Eggert commented on a patch that proposed to note the
POSIX.2001 details:

    No actual POSIXish implementation ever made it a
    real-floating type, though, and that point should be made
    lest some conscientious programmer worry about a nonexistent
    porting issue.

We opted to drop the patch, but in case someone else points out
this POSIX.1-2001 difference in the future, let's leave a comment
in the page source.

Reported-by: Paul Eggert <eggert@cs.ucla.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-10-18 15:00:14 +02:00
parent 7f306fae15
commit 853a4cff4e
1 changed files with 4 additions and 0 deletions

View File

@ -1229,6 +1229,10 @@ or
.PP
Used for time in seconds.
According to POSIX, it shall be an integer type.
.\" In POSIX.1-2001, the type was specified as being either an integer
.\" type or a real-floating type. However, existing implementations
.\" used an integer type, and POSIX.1-2008 tightened the specification
.\" to reflect this.
.PP
Versions:
.I <sched.h>