the clock_gettime sys call - Programmers Heaven

Howdy, Stranger!

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


the clock_gettime sys call

reelreel Posts: 1Member
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.