06.08.2013 Views

pSOSystem System Calls - Read

pSOSystem System Calls - Read

pSOSystem System Calls - Read

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

gmtime Converts the calendar time to broken-down time.<br />

#include <br />

struct tm *gmtime (<br />

const time_t *timer /* calendar time */<br />

)<br />

Description<br />

Arguments<br />

Return Value<br />

Error Codes<br />

Notes<br />

See Also<br />

The gmtime() function converts the calendar time pointed to by timer into brokendown<br />

time, expressed as Coordinated Universal Time (UTC).<br />

The calendar time is generally obtained through a call to time().<br />

timer Points to the calendar time.<br />

The gmtime() function always returns NULL, since the concept of UTC is not<br />

supported by pREPC+.<br />

None.<br />

Callable From<br />

■ Task<br />

gmtime_r, time, localtime, localtime_r, mktime<br />

3-72 <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!