You are not logged in.
On the Arch man page of the strftime function. There's a mysterious size_t max; in the function signature.
size_t strftime(size_t max;
char s[restrict max], size_t max,
const char *restrict format,
const struct tm *restrict tm);However, on the official Linux man‑pages, size_t max; absents.
size_t strftime(char s[restrict .max], size_t max,
const char *restrict format,
const struct tm *restrict tm);Anyone knows what's going on?
Offline
Your second link is an old version.
Offline
Offline
See notes towards the end of GCC → 6.2.1 Arrays of Variable Length.
Paperclips in avatars? | Sometimes I seem a bit harsh — don’t get offended too easily!
Offline