IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page

Date/Time Functions

Detailed Description

This sections describes the various function to handle date and time values.


int stime (time_t *t)
 Set number of seconds elapsed since 00:00:00 January 1 1970.
void unixtodos (long time, struct date *d, struct time *t)
 Converts date and time from UNIX time format.
long dostounix (struct date *d, struct time *t)
 Converts date and time to UNIX time format.
void gettime (struct time *timep)
 Gets the system time.
void settime (struct time *timep)
 Sets the system time.
void getdate (struct date *datep)
 Gets the system date.
void setdate (struct date *datep)
 Sets the system date.

Top of page | Main page

Copyright © 2018 Beck IPC GmbH
Generated on Thu Nov 1 13:20:14 2018 by Doxygen 1.6.1