1998-09-07 10:18:43 +08:00
|
|
|
#ifndef POSIXTM_H_
|
|
|
|
# define POSIXTM_H_
|
|
|
|
|
1998-09-07 10:17:55 +08:00
|
|
|
/* POSIX Date Syntax flags. */
|
1998-09-07 10:18:43 +08:00
|
|
|
# define PDS_LEADING_YEAR 1
|
|
|
|
# define PDS_TRAILING_YEAR 2
|
|
|
|
# define PDS_CENTURY 4
|
|
|
|
# define PDS_SECONDS 8
|
1998-09-07 10:17:55 +08:00
|
|
|
|
1998-09-17 21:48:20 +08:00
|
|
|
# ifndef PARAMS
|
|
|
|
# if defined PROTOTYPES || (defined __STDC__ && __STDC__)
|
|
|
|
# define PARAMS(Args) Args
|
|
|
|
# else
|
|
|
|
# define PARAMS(Args) ()
|
|
|
|
# endif
|
|
|
|
# endif
|
|
|
|
|
1998-09-07 10:17:55 +08:00
|
|
|
time_t
|
1998-09-17 21:48:20 +08:00
|
|
|
posixtime PARAMS ((const char *s, unsigned int syntax_bits));
|
1998-09-07 10:17:55 +08:00
|
|
|
|
|
|
|
struct tm *
|
1998-09-17 21:48:20 +08:00
|
|
|
posixtm PARAMS ((const char *s, unsigned int syntax_bits));
|
1998-09-07 10:18:43 +08:00
|
|
|
|
|
|
|
#endif
|