OpenBSD Handbook Manuals
Search

wcsftime(3)

Canonical URL: /wcsftime.3/

WCSFTIME(3) Library Functions Manual WCSFTIME(3)

wcsftimeformat date and time to wide characters string

#include <wchar.h>

size_t
wcsftime(wchar_t *buf, size_t maxsize, const wchar_t *format, const struct tm *timeptr);

The () function is a wide char equivalent of strftime(3).

strftime(3)

March 29, 2022 Linux 7.1.13-200.fc44.x86_64

Need conceptual guidance? Continue in the OpenBSD Handbook.