strftime.h 504 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * strftime.h
  3. * header file for strftime.c
  4. *
  5. */
  6. #ifndef _EGG_COMPAT_STRFTIME_H_
  7. #define _EGG_COMPAT_STRFTIME_H_
  8. #ifdef HAVE_CONFIG_H
  9. # include "config.h"
  10. #endif
  11. #include <time.h>
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. /* Use the system libraries version of strftime() if available. Otherwise
  16. * use our own.
  17. */
  18. #ifndef HAVE_STRFTIME
  19. size_t strftime(char *s, size_t maxsize, const char *format, const struct tm *tp);
  20. #endif
  21. #ifdef __cplusplus
  22. }
  23. #endif
  24. #endif /* !_EGG_COMPAT_STRFTIME_H_ */