view src/lib/utc-mktime.h @ 8999:afc1b0ef120d HEAD

When :MAILBOXDIR= was empty, we might have appended extra '/' to it, which caused problems.
author Timo Sirainen <tss@iki.fi>
date Thu, 30 Apr 2009 20:00:09 -0400
parents 6d15946eccb5
children
line wrap: on
line source

#ifndef UTC_MKTIME_H
#define UTC_MKTIME_H

#include <time.h>

/* Like mktime(), but assume that tm is in UTC. Unlike mktime(), values in
   tm fields must be in valid range. */
time_t utc_mktime(const struct tm *tm);

#endif