[BACK]Return to time.h CVS log [TXT][DIR] Up to [local] / src / include

Diff for /src/include/time.h between version 1.20 and 1.21

version 1.20, 2011/07/03 18:51:01 version 1.21, 2012/05/07 22:34:00
Line 87 
Line 87 
 };  };
 #endif  #endif
   
   #if __POSIX_VISIBLE >= 200112
   #include <sys/_time.h>
   
   #ifndef _CLOCKID_T_DEFINED_
   #define _CLOCKID_T_DEFINED_
   typedef __clockid_t     clockid_t;
   #endif
   
   #ifndef _TIMER_T_DEFINED_
   #define _TIMER_T_DEFINED_
   typedef __timer_t       timer_t;
   #endif
   #endif
   
 struct tm {  struct tm {
         int     tm_sec;         /* seconds after the minute [0-60] */          int     tm_sec;         /* seconds after the minute [0-60] */
         int     tm_min;         /* minutes after the hour [0-59] */          int     tm_min;         /* minutes after the hour [0-59] */
Line 102 
Line 116 
 };  };
   
 __BEGIN_DECLS  __BEGIN_DECLS
 struct timespec;  
 char *asctime(const struct tm *);  char *asctime(const struct tm *);
 clock_t clock(void);  clock_t clock(void);
 char *ctime(const time_t *);  char *ctime(const time_t *);
Line 125 
Line 138 
 #if __POSIX_VISIBLE  #if __POSIX_VISIBLE
 extern char *tzname[2];  extern char *tzname[2];
 void tzset(void);  void tzset(void);
   #endif
   
   #if __POSIX_VISIBLE >= 200112
   int clock_getres(clockid_t, struct timespec *);
   int clock_gettime(clockid_t, struct timespec *);
   int clock_settime(clockid_t, const struct timespec *);
 #endif  #endif
   
 #if __BSD_VISIBLE  #if __BSD_VISIBLE

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21