* libc/time/clock.c: Clarify documentation of return value when no measurement
is available.
This commit is contained in:
parent
db3137ccb5
commit
31271d5cb4
|
@ -1,3 +1,8 @@
|
||||||
|
2003-10-14 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
|
* libc/time/clock.c: Clarify documentation of return value when no
|
||||||
|
measurement is available.
|
||||||
|
|
||||||
2003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
|
2003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
|
||||||
|
|
||||||
* libm/configure.in: Check libm_machine_dir, not machine_dir.
|
* libm/configure.in: Check libm_machine_dir, not machine_dir.
|
||||||
|
|
|
@ -41,7 +41,7 @@ into seconds, divide by the macro <<CLOCKS_PER_SEC>>.
|
||||||
RETURNS
|
RETURNS
|
||||||
The amount of processor time used so far by your program, in units
|
The amount of processor time used so far by your program, in units
|
||||||
defined by the machine-dependent macro <<CLOCKS_PER_SEC>>. If no
|
defined by the machine-dependent macro <<CLOCKS_PER_SEC>>. If no
|
||||||
measurement is available, the result is <<-1>>.
|
measurement is available, the result is (clock_t)<<-1>>.
|
||||||
|
|
||||||
PORTABILITY
|
PORTABILITY
|
||||||
ANSI C requires <<clock>> and <<CLOCKS_PER_SEC>>.
|
ANSI C requires <<clock>> and <<CLOCKS_PER_SEC>>.
|
||||||
|
|
Loading…
Reference in New Issue