summaryrefslogtreecommitdiff
path: root/locale.c
diff options
context:
space:
mode:
Diffstat (limited to 'locale.c')
-rw-r--r--locale.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/locale.c b/locale.c
index 73652a3f0e..83ead06a29 100644
--- a/locale.c
+++ b/locale.c
@@ -4810,12 +4810,13 @@ 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.
+On failure it returns NULL.
+
Note that yday and wday effectively are ignored by this function, as
-mini_mktime() overwrites them
+mini_mktime() overwrites them.
-Also note that it is always executed in the underlying locale of the program,
-giving localized results. Mojibake can result on some platforms if LC_CTYPE
-and LC_TIME are not the same locale.
+Also note that it is always executed in the underlying C<LC_TIME> locale of
+the program, giving results based on that locale.
=cut
*/