Austin Group Defect Tracker

Aardvark Mark III


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 2013-06-13 16:26
Reporter dalias View Status public  
Assigned To
Priority normal Resolution Open  
Status New  
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:

[EOVERFLOW]

the processor time used cannot be represented in an object of type clock_t."
Tags No tags attached.
Attached Files

- Relationships
related to 0000686Resolvedajosey 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


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