version 1.8, 2013/04/22 07:21:52 |
version 1.9, 2013/04/23 14:32:53 |
|
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
*/ |
|
#include <sys/time.h> |
#include "config.h" |
#include "config.h" |
#include "defines.h" |
#include "defines.h" |
#include "timestamp.h" |
#include "timestamp.h" |
|
|
|
|
TIMESTAMP now; /* The time at the start of this whole process */ |
struct timespec now; /* The time at the start of this whole process */ |
|
|
int |
int |
set_times(const char *f) |
set_times(const char *f) |
|
|
} |
} |
|
|
char * |
char * |
time_to_string(TIMESTAMP time) |
time_to_string(struct timespec time) |
{ |
{ |
struct tm *parts; |
struct tm *parts; |
static char buf[128]; |
static char buf[128]; |