source: trunk/kernel/syscalls/shared_include/almos-mkh/time.h @ 444

Last change on this file since 444 was 444, checked in by satin@…, 4 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 737 bytes
Line 
1#ifndef _SHARED_TIME_H_
2#define _SHARED_TIME_H_
3
4/*******************************************************************************************
5 * These two structure are used by the gettimeofday() function.
6 ******************************************************************************************/
7
8struct timeval
9{
10    unsigned int tv_sec;                    /*! seconds since Jan. 1, 1970                */
11    unsigned int tv_usec;                   /*! and microseconds                          */
12};
13
14struct timezone
15{
16    int          tz_minuteswest;            /*! of Greenwich                              */
17    int          tz_dsttime;                /*! type of dst correction to apply           */
18};
19
20#endif /* _TIME_H_*/
Note: See TracBrowser for help on using the repository browser.