Austin Group Defect Tracker

Aardvark Mark IV


Viewing Issue Simple Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Type Date Submitted Last Update
0001597 [1003.1(2016/18)/Issue7+TC2] Base Definitions and Headers Editorial Error 2022-08-05 02:44 2022-08-05 02:44
Reporter dannyniu View Status public  
Assigned To
Priority normal Resolution Open  
Status New  
Name DannyNiu/NJF
Organization Individual
User Reference
Section <time.h>
Page Number 426
Line Number 14475-14481
Interp Status ---
Final Accepted Text
Summary 0001597: clockid_t are not usable with the clock() function and the text should say clock*() functions.
Description In this header, it is mistakenly said that a few identifiers with
value assignment-compatible with clockid_t can be used with
clock() and timer*(), when in fact, the clock() function doesn't
take an arguement.
Desired Action Change:

CLOCK_PROCESS_CPUTIME_ID
The identifier of the CPU-time clock associated with the process making a
clock() or timer*() function call.

...

The identifier of the CPU-time clock associated with the thread making a
clock() or timer*() function call.
CX The <time.h> header shall define the following symbolic

To:

CLOCK_PROCESS_CPUTIME_ID
The identifier of the CPU-time clock associated with the process making a
clock*() or timer*() function call.

...

The identifier of the CPU-time clock associated with the thread making a
clock*() or timer*() function call.
CX The <time.h> header shall define the following symbolic
Tags No tags attached.
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2022-08-05 02:44 dannyniu New Issue
2022-08-05 02:44 dannyniu Name => DannyNiu/NJF
2022-08-05 02:44 dannyniu Organization => Individual
2022-08-05 02:44 dannyniu Section => <time.h>
2022-08-05 02:44 dannyniu Page Number => 426
2022-08-05 02:44 dannyniu Line Number => 14475-14481


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker