View Issue Details

IDProjectCategoryView StatusLast Update
00007031003.1(2013)/Issue7+TC1System Interfacespublic2024-06-11 09:02
Reporterdalias Assigned To 
PrioritynormalSeverityEditorialTypeEnhancement Request
Status ClosedResolutionAccepted 
NameRich Felker
Organizationmusl libc
User Reference
Sectionclock
Page Number670
Line Number22728
Interp Status---
Final Accepted Text
Summary0000703: Add errno values for clock
DescriptionThe 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 ActionIn 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."
Tagstc3-2008

Relationships

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

Activities

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
2024-06-11 09:02 agadmin Status Applied => Closed