NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lib/59140: POSIX.1-2024: timespec_get
>Number: 59140
>Category: lib
>Synopsis: POSIX.1-2024: timespec_get
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Mar 06 13:40:00 +0000 2025
>Originator: Taylor R Campbell
>Release: current, 10, 9, ...
>Organization:
The NetBSD_get Timespec
>Environment:
>Description:
<time.h> unconditionally declares struct timespec and timespec_get.
Since it is new in C11 and POSIX.1-2024, it should be limited to any of the following conditions:
- _NETBSD_SOURCE
- __STDC_VERSION__ - 0 >= 201101L
- _POSIX_C_SOURCE -0 >= 202405L
>How-To-Repeat:
standards inspection
>Fix:
Yes, please!
Home |
Main Index |
Thread Index |
Old Index