04.06.2013 Views

iRMX C Library Reference - tenAsys

iRMX C Library Reference - tenAsys

iRMX C Library Reference - tenAsys

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.

Time and Date Functions<br />

These functions provides ways to control and process the time and date<br />

asctime Converts a time stored as a structure to a character string.<br />

clock Measures the time used by the calling task, from when the calling<br />

task first began execution to the current time.<br />

ctime Convertsatimestoredasatime_t value to a character string.<br />

difftime Finds the difference between two time values.<br />

gmtime Converts a time value to a structure.<br />

localeconv Gets detailed information on locale settings.<br />

localtime Convertsatimestoredasatime_t value and corrects for the<br />

local timezone.<br />

mktime Converts the time/date structure into a fully-defined structure with<br />

normalized values and then converts it to calendar time.<br />

setlocale Sets the task's current entire locale or specified portions of it.<br />

strftime Formats a time string.<br />

time Gets the system time.<br />

time macros,<br />

_tzset_ptr<br />

Accesses daylight, timezone, and tzname environment variables.<br />

tzset Sets the time environment variables.<br />

utime Sets the modification time for a file.<br />

Variable Argument Functions<br />

These functions provide a convenient way to access argument lists.<br />

va_arg Retrieves current argument.<br />

va_end Resets argument list pointer.<br />

va_start Sets argument list pointer to first optional argument.<br />

■ ■ ■<br />

C <strong>Library</strong> <strong>Reference</strong> Chapter 2 21

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

Saved successfully!

Ooh no, something went wrong!