aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-10-14 17:41:30 +0000
committerChristopher Faylor <me@cgf.cx>2003-10-14 17:41:30 +0000
commit31271d5cb495ff24aa1333695b5b01702201b075 (patch)
tree8370d93ce648e1c75cec0afcb7b80327ccfc85a3 /newlib/libc
parentdb3137ccb5d3c7499a665d17abf84cf523146cbf (diff)
downloadnewlib-31271d5cb495ff24aa1333695b5b01702201b075.zip
newlib-31271d5cb495ff24aa1333695b5b01702201b075.tar.gz
newlib-31271d5cb495ff24aa1333695b5b01702201b075.tar.bz2
* libc/time/clock.c: Clarify documentation of return value when no measurement
is available.
Diffstat (limited to 'newlib/libc')
-rw-r--r--newlib/libc/time/clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/time/clock.c b/newlib/libc/time/clock.c
index b15915d..64cf438 100644
--- a/newlib/libc/time/clock.c
+++ b/newlib/libc/time/clock.c
@@ -41,7 +41,7 @@ into seconds, divide by the macro <<CLOCKS_PER_SEC>>.
RETURNS
The amount of processor time used so far by your program, in units
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
ANSI C requires <<clock>> and <<CLOCKS_PER_SEC>>.