1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-20 10:51:48 +02:00
Files
coreutils/lib/posixtm.h

25 lines
483 B
C
Raw Normal View History

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