|
OpenTTD Source
12.0-beta1
|
Container for wall clock time related functionality not directly provided by C++. More...
#include <walltime_func.h>
Static Public Member Functions | |
| static size_t | Format (char *buffer, const char *last, const char *format) NOACCESS(2) WARN_TIME_FORMAT(3) |
| Format the current time with the given strftime format specifiers. More... | |
Container for wall clock time related functionality not directly provided by C++.
| T | The type of the time-to-struct implementation class. |
Definition at line 50 of file walltime_func.h.
|
inlinestatic |
Format the current time with the given strftime format specifiers.
| buffer | The buffer to write the time string to. |
| last | The last element in the buffer. |
| format | The format according to strftime format specifiers. |
Definition at line 58 of file walltime_func.h.
Referenced by CrashLog::FillCrashLog(), GetLogPrefix(), and NewGRFProfiler::GetOutputFilename().