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

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

version 1.31, 2018/10/30 16:28:42 version 1.32, 2022/10/25 16:30:30
Line 44 
Line 44 
 #include <sys/cdefs.h>  #include <sys/cdefs.h>
 #include <sys/_null.h>  #include <sys/_null.h>
 #include <sys/_types.h>  #include <sys/_types.h>
   #include <sys/_time.h>
   
 #ifndef _CLOCK_T_DEFINED_  #ifndef _CLOCK_T_DEFINED_
 #define _CLOCK_T_DEFINED_  #define _CLOCK_T_DEFINED_
Line 68 
Line 69 
 #define CLK_TCK         100  #define CLK_TCK         100
 #endif  #endif
   
 #define CLOCKS_PER_SEC  100     /* frequency of ticks reported by clock().  */  
   
 #if __POSIX_VISIBLE >= 199309 || __ISO_C_VISIBLE >= 2011  
 #ifndef _TIMESPEC_DECLARED  
 #define _TIMESPEC_DECLARED  
 struct timespec {  
         time_t  tv_sec;         /* seconds */  
         long    tv_nsec;        /* and nanoseconds */  
 };  
 #endif  
 #endif  
   
 #if __POSIX_VISIBLE >= 199309  #if __POSIX_VISIBLE >= 199309
 #include <sys/_time.h>  
   
 #ifndef _CLOCKID_T_DEFINED_  #ifndef _CLOCKID_T_DEFINED_
 #define _CLOCKID_T_DEFINED_  #define _CLOCKID_T_DEFINED_
 typedef __clockid_t     clockid_t;  typedef __clockid_t     clockid_t;

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