added convenience function Sys_TimeString which calls strftime into a temporary buffe...
[xonotic/darkplaces.git] / sys.h
diff --git a/sys.h b/sys.h
index f42d277..689f2b9 100644 (file)
--- a/sys.h
+++ b/sys.h
@@ -80,5 +80,8 @@ void Sys_Shared_EarlyInit (void);
 // called after Host_init
 void Sys_Shared_LateInit (void);
 
+// returns current timestamp
+char *Sys_TimeString(const char *timeformat);
+
 #endif