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
0000703 [1003.1(2013)/Issue7+TC1] System Interfaces Editorial Enhancement Request 2013-05-27 03:37 2022-09-27 15:26
Reporter dalias View Status public  
Assigned To
Priority normal Resolution Accepted  
Status Applied  
Name Rich Felker
Organization musl libc
User Reference
Section clock
Page Number 670
Line Number 22728
Interp Status ---
Final Accepted Text
Summary 0000703: Add errno values for clock
Description The clock() function has failure cases specified (unavailable or unrepresentable processor time usage) but does not have error codes defined. As the resolution of #686 imposes a common real-world failure case on implementations using 32-bit clock_t, it seems desirable to have the cause of failure reported in errno.
Desired Action In the ERRORS section for clock(), replace the text:

"No errors are defined."

with the CX-shaded text:

"The clock() function shall fail if:


the processor time used cannot be represented in an object of type clock_t."
Tags tc3-2008
Attached Files

- Relationships
related to 0000686Closedajosey 1003.1(2008)/Issue 7 Application usage for clock() conflicts with normative text 

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2013-05-27 03:37 dalias New Issue
2013-05-27 03:37 dalias Name => Rich Felker
2013-05-27 03:37 dalias Organization => musl libc
2013-05-27 03:37 dalias Section => clock
2013-05-27 03:37 dalias Page Number => unknown
2013-05-27 03:37 dalias Line Number => unknown
2013-05-27 03:42 Don Cragun Page Number unknown => 670
2013-05-27 03:42 Don Cragun Line Number unknown => 22728
2013-05-27 03:42 Don Cragun Interp Status => ---
2013-06-13 16:26 nick Relationship added related to 0000686
2022-08-11 16:04 Don Cragun Status New => Resolved
2022-08-11 16:04 Don Cragun Resolution Open => Accepted
2022-08-11 16:05 Don Cragun Tag Attached: tc3-2008
2022-09-27 15:26 geoffclare Status Resolved => Applied

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