06.08.2013 Views

pSOSystem System Calls - Read

pSOSystem System Calls - Read

pSOSystem System Calls - Read

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

difftime pREPC+ <strong>System</strong> <strong>Calls</strong><br />

difftime Computes the difference between two calendar times.<br />

#include <br />

double difftime (<br />

time_t time1, /* finish time */<br />

time_t time0 /* start time */<br />

)<br />

Description<br />

Arguments<br />

Return Value<br />

Error Codes<br />

Notes<br />

See Also<br />

The difftime() function computes the difference, in seconds, between two<br />

calendar times: time1 - time0.<br />

time1 Specifies the finish time.<br />

time0 Specifies the start time.<br />

The difftime() function returns the difference expressed in seconds as a double.<br />

None.<br />

Callable From<br />

■ Task<br />

time<br />

3-24 <strong>pSO<strong>System</strong></strong> <strong>System</strong> <strong>Calls</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!