Both POSIX and glibc use 'restrict' in strftime().
Let's use it here too.
.../glibc$ grep_glibc_prototype strftime
timezone/private.h:506:
size_t strftime(char *restrict, size_t, char const *restrict,
struct tm const *restrict);
time/time.h:88:
extern size_t strftime (char *__restrict __s, size_t __maxsize,
const char *__restrict __format,
const struct tm *__restrict __tp) __THROW;
.../glibc$
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
.nf
.B #include <time.h>
.PP
-.BI "size_t strftime(char *" s ", size_t " max ", const char *" format ,
-.BI " const struct tm *" tm );
+.BI "size_t strftime(char *restrict " s ", size_t " max ,
+.BI " const char *restrict " format ,
+.BI " const struct tm *restrict " tm );
.fi
.SH DESCRIPTION
The