the clock_gettime sys call

I was trying to use the clock gettime function as below .........

[italic]clock_gettime( CLOCK_REALTIME, &oldTime)[/italic]

...but gettin an undefined reference to 'clock_gettime' error message....can't figure out why... I check the man pages and it needs time.h which has already been included in the code.... can someone help. Thanks
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!