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

Diff for /src/include/time.h between version 1.30 and 1.31

version 1.30, 2017/09/05 03:16:13 version 1.31, 2018/10/30 16:28:42
Line 70 
Line 70 
   
 #define CLOCKS_PER_SEC  100     /* frequency of ticks reported by clock().  */  #define CLOCKS_PER_SEC  100     /* frequency of ticks reported by clock().  */
   
 #if __POSIX_VISIBLE >= 199309  #if __POSIX_VISIBLE >= 199309 || __ISO_C_VISIBLE >= 2011
 #ifndef _TIMESPEC_DECLARED  #ifndef _TIMESPEC_DECLARED
 #define _TIMESPEC_DECLARED  #define _TIMESPEC_DECLARED
 struct timespec {  struct timespec {
Line 78 
Line 78 
         long    tv_nsec;        /* and nanoseconds */          long    tv_nsec;        /* and nanoseconds */
 };  };
 #endif  #endif
   #endif
   
   #if __POSIX_VISIBLE >= 199309
 #include <sys/_time.h>  #include <sys/_time.h>
   
 #ifndef _CLOCKID_T_DEFINED_  #ifndef _CLOCKID_T_DEFINED_
Line 171 
Line 173 
 size_t strftime_l(char *__restrict, size_t, const char *__restrict,  size_t strftime_l(char *__restrict, size_t, const char *__restrict,
                 const struct tm *__restrict, locale_t)                  const struct tm *__restrict, locale_t)
                 __attribute__ ((__bounded__(__string__,1,2)));                  __attribute__ ((__bounded__(__string__,1,2)));
   #endif
   
   #if __ISO_C_VISIBLE >= 2011
   #define TIME_UTC        1       /* time elapsed since epoch */
   int timespec_get(struct timespec *_ts, int _base);
 #endif  #endif
   
 #if __BSD_VISIBLE  #if __BSD_VISIBLE

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31