]>
diplodocus.org Git - nmh/blob - sbr/dtime.h
1 /* dtime.h -- time/date routines
3 * This code is Copyright (c) 2017, by the authors of nmh. See the
4 * COPYRIGHT file in the root directory of the nmh distribution for
5 * complete copyright information. */
7 extern char *tw_moty
[];
8 extern char *tw_dotw
[];
9 extern char *tw_ldotw
[];
11 struct tws
*dlocaltimenow(void);
12 struct tws
*dlocaltime(time_t *);
13 struct tws
*dgmtime(time_t *);
14 char *dctime(struct tws
*);
16 char *dtime(time_t *, int);
17 char *dasctime(struct tws
*, int);
18 char *dtimezone(int, int);
19 time_t dmktime(struct tws
*);
20 void set_dotw(struct tws
*);
21 int twsort(struct tws
*, struct tws
*);