1 2 3 4 5 6 7 8 9 10 11 12
#ifndef POSIXTM_H_ # define POSIXTM_H_ /* POSIX Date Syntax flags. */ # define PDS_LEADING_YEAR 1 # define PDS_TRAILING_YEAR 2 # define PDS_CENTURY 4 # define PDS_SECONDS 8 bool posixtime (time_t *p, const char *s, unsigned int syntax_bits); #endif