Summary: | times(NULL) function returns negative value | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christophe Boccheciampe <cb> |
Component: | [OLD] Library | Assignee: | Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel> |
Status: | RESOLVED INVALID | ||
Severity: | major | CC: | vapier |
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Christophe Boccheciampe
2006-03-15 22:51:17 UTC
glibc doesnt implement times() ... it merely calls the kernel but really i dont see this as a bug if we review the specs on the function: http://www.opengroup.org/onlinepubs/009695399/functions/times.html the return value has these characteristics: - completely arbitrary - success can be any value at all except for -1 - return value may be overflowed as long as the result isnt -1 |