*** empty log message ***
[coreutils.git] / lib / posixtm.h
blobd2c01c9b6b440282643e6c8e36c2e3a6aa961a76
1 #ifndef POSIXTM_H_
2 # define POSIXTM_H_
4 /* POSIX Date Syntax flags. */
5 # define PDS_LEADING_YEAR 1
6 # define PDS_TRAILING_YEAR 2
7 # define PDS_CENTURY 4
8 # define PDS_SECONDS 8
10 # ifndef PARAMS
11 # if defined PROTOTYPES || (defined __STDC__ && __STDC__)
12 # define PARAMS(Args) Args
13 # else
14 # define PARAMS(Args) ()
15 # endif
16 # endif
18 time_t
19 posixtime PARAMS ((const char *s, unsigned int syntax_bits));
21 struct tm *
22 posixtm PARAMS ((const char *s, unsigned int syntax_bits));
24 #endif