-rw-r--r-- | include/napkin/util.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/napkin/util.h b/include/napkin/util.h new file mode 100644 index 0000000..bf7946d --- a/dev/null +++ b/include/napkin/util.h | |||
@@ -0,0 +1,14 @@ | |||
1 | #ifndef __NAPKIN_UTIL_H | ||
2 | #define __NAPKIN_UTIL_H | ||
3 | |||
4 | #include <time.h> | ||
5 | #include <string> | ||
6 | |||
7 | namespace napkin { | ||
8 | using std::string; | ||
9 | |||
10 | string strftime(const char *fmt,time_t t); | ||
11 | |||
12 | } | ||
13 | |||
14 | #endif /* __NAPKIN_UTIL_H */ | ||