diff options
author | Mattias Andrée <maandree@kth.se> | 2021-02-26 17:30:12 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-02-26 17:30:12 +0100 |
commit | dde83349da01f4b2d6a2e4182fc7a3cc627745f6 (patch) | |
tree | 171e9bfee1056d452174663c3b2ce5fcbf288e6b /engmtime.c | |
parent | Add tests (diff) | |
download | libsimple-dde83349da01f4b2d6a2e4182fc7a3cc627745f6.tar.gz libsimple-dde83349da01f4b2d6a2e4182fc7a3cc627745f6.tar.bz2 libsimple-dde83349da01f4b2d6a2e4182fc7a3cc627745f6.tar.xz |
Add libsimple_[e[n]]{local,gm}time, remove dates from man pages, and add blank lines between sections in man pages
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | engmtime.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/engmtime.c b/engmtime.c new file mode 100644 index 0000000..c2bf6bf --- /dev/null +++ b/engmtime.c @@ -0,0 +1,23 @@ +/* See LICENSE file for copyright and license details. */ +#include "libsimple.h" +#ifndef TEST + + +void +libsimple_engmtime(int status, struct tm *tm, struct timespec *ts) +{ + if (libsimple_gmtime(tm, ts)) + enprintf(status, "libsimple_gmtime:"); +} + + +#else +#include "test.h" + +int +main(void) +{ + /* TODO test */ +} + +#endif |