How do I compile ttype? (times(2))
Gerald W. Irmler
jsisi at trwrba.UUCP
Tue Dec 10 16:43:37 AEST 1985
The referenced article stated the System V times call returned the CPU time.
I haven't looked at the code, but I quote from the times(2) manual page:
"Upon successful completion, *times* returns the elaspsed real time, in HZ,
since an arbitrary time in the past (e.g. system start-up time).
This point does not change from one invocation of *times* to another."
Thus I think one can use times(2) to fake a suitable ftime unless the manual
page is in error.
Dan Jones
ihnp4!trwrb!jcc-one!djones
NOT the path in the header.
More information about the Comp.sources.bugs
mailing list