mirror of
https://github.com/shadow-maint/shadow.git
synced 2026-01-29 23:34:11 +00:00
This name better reflects that it handles arrays, and doesn't shout. Signed-off-by: Alejandro Colomar <alx@kernel.org>
21 lines
392 B
C
21 lines
392 B
C
// SPDX-FileCopyrightText: 2024, Alejandro Colomar <alx@kernel.org>
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
|
|
#ifndef SHADOW_INCLUDE_LIB_STRFTIME_H_
|
|
#define SHADOW_INCLUDE_LIB_STRFTIME_H_
|
|
|
|
|
|
#include "config.h"
|
|
|
|
#include <time.h>
|
|
|
|
#include "sizeof.h"
|
|
|
|
|
|
// strftime_a - string format time array
|
|
#define strftime_a(dst, fmt, tm) strftime(dst, countof(dst), fmt, tm)
|
|
|
|
|
|
#endif // include guard
|