diff options
author | Elliott Hughes <enh@google.com> | 2018-06-28 16:57:21 -0700 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2018-07-04 14:24:24 -0500 |
commit | 4d673c9ad4c65c329a85ebb19c2812ae93183099 (patch) | |
tree | 0dba43542152b2f06805340104bf25390193cf51 /lib/lib.h | |
parent | 7771e94e2a082726142387476937d7f136f65147 (diff) | |
download | toybox-4d673c9ad4c65c329a85ebb19c2812ae93183099.tar.gz |
diff: add timestamps to the ---/+++ lines and --color.
(My apologies for mixing these two unrelated changes up.)
Diffstat (limited to 'lib/lib.h')
-rw-r--r-- | lib/lib.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -250,6 +250,7 @@ char *getgroupname(gid_t gid); void do_lines(int fd, void (*call)(char **pline, long len)); long environ_bytes(); long long millitime(void); +char *format_iso_time(char *buf, size_t len, struct timespec *ts); #define HR_SPACE 1 // Space between number and units #define HR_B 2 // Use "B" for single byte units |