diff options
author | Karl Williamson <khw@cpan.org> | 2020-07-22 06:47:18 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2020-08-17 21:47:04 -0600 |
commit | 7338c6028f2057ae517272af101ba28fd5656aef (patch) | |
tree | ecc442d082ecd4deb0b6089421027213eb45e5e0 /util.c | |
parent | 00b72c9f5c9652dedbe8b044b5d73da757211c96 (diff) | |
download | perl-7338c6028f2057ae517272af101ba28fd5656aef.tar.gz |
Document my_strftime
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 19 |
1 files changed, 12 insertions, 7 deletions
@@ -3866,13 +3866,18 @@ Perl_my_strftime(pTHX_ const char *fmt, int sec, int min, int hour, int mday, in { #ifdef HAS_STRFTIME - /* strftime(), but with a different API so that the return value is a pointer - * to the formatted result (which MUST be arranged to be FREED BY THE - * CALLER). This allows this function to increase the buffer size as needed, - * so that the caller doesn't have to worry about that. - * - * Note that yday and wday effectively are ignored by this function, as - * mini_mktime() overwrites them */ +/* +=for apidoc my_strftime +strftime(), but with a different API so that the return value is a pointer +to the formatted result (which MUST be arranged to be FREED BY THE +CALLER). This allows this function to increase the buffer size as needed, +so that the caller doesn't have to worry about that. + +Note that yday and wday effectively are ignored by this function, as +mini_mktime() overwrites them + +=cut + */ char *buf; int buflen; |