view lib/posixtm.h @ 2427:28f8722c956c

*** empty log message ***
author Jim Meyering <jim@meyering.net>
date Sat, 15 Apr 2000 21:58:37 +0000
parents f58fdf937295
children 686e1813a84b
line wrap: on
line source

#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