mirror of
https://github.com/coreutils/coreutils.git
synced 2024-11-26 03:13:42 +08:00
19ff66c384
From Kaveh Ghazi.
25 lines
483 B
C
25 lines
483 B
C
#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
|
|
|
|
# ifndef PARAMS
|
|
# if defined PROTOTYPES || (defined __STDC__ && __STDC__)
|
|
# define PARAMS(Args) Args
|
|
# else
|
|
# define PARAMS(Args) ()
|
|
# endif
|
|
# endif
|
|
|
|
time_t
|
|
posixtime PARAMS ((const char *s, unsigned int syntax_bits));
|
|
|
|
struct tm *
|
|
posixtm PARAMS ((const char *s, unsigned int syntax_bits));
|
|
|
|
#endif
|