Warning, file /sdk/heaptrack/tests/manual/libc_leaks.c was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*
0002     SPDX-FileCopyrightText: 2017 Maxim Golov <maxim.golov@gmail.com>
0003 
0004     SPDX-License-Identifier: LGPL-2.1-or-later
0005 */
0006 
0007 #include <time.h>
0008 #include <stdlib.h>
0009 
0010 int main(int argc, char **argv)
0011 {
0012     time_t t = time(0);
0013     struct tm tmbuf;
0014     gmtime_r(&t, &tmbuf);
0015     char buf[16];
0016     strftime(buf, sizeof(buf), "%d", &tmbuf);
0017 }