time-util.c revision e28b88ee83b47dc2257140600f491482704c7b79
/* Copyright (c) 2008-2014 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "time-util.h"
#include <time.h>
{
return -1;
return 1;
return -1;
return 1;
return 0;
}
unsigned int usec_margin)
{
return -1;
return 1;
return -1;
return -1;
return 0;
}
{
}
{
int usecs;
if (usecs < 0) {
secs--;
usecs += 1000000;
}
}
{
bufsize *= 2;
}
return buf;
}