summaryrefslogtreecommitdiff
path: root/apps/misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/misc.h')
-rw-r--r--apps/misc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/misc.h b/apps/misc.h
index 757eee7377..5e7450a7b2 100644
--- a/apps/misc.h
+++ b/apps/misc.h
@@ -27,6 +27,14 @@
27void output_dyn_value(char *buf, int buf_size, int value, 27void output_dyn_value(char *buf, int buf_size, int value,
28 const unsigned char **units, bool bin_scale); 28 const unsigned char **units, bool bin_scale);
29 29
30char *create_numbered_filename(char *buffer, const char *path,
31 const char *prefix, const char *suffix,
32 int numberlen);
33#ifdef HAVE_RTC
34char *create_datetime_filename(char *buffer, const char *path,
35 const char *prefix, const char *suffix);
36#endif
37
30/* Read (up to) a line of text from fd into buffer and return number of bytes 38/* Read (up to) a line of text from fd into buffer and return number of bytes
31 * read (which may be larger than the number of bytes stored in buffer). If 39 * read (which may be larger than the number of bytes stored in buffer). If
32 * an error occurs, -1 is returned (and buffer contains whatever could be 40 * an error occurs, -1 is returned (and buffer contains whatever could be