From 05957bbd9027ee879c141fecb28cd7813ffdb466 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 26 Nov 2001 21:45:33 +0000 Subject: Document problems with other strptime implementations. --- manual/time.texi | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/manual/time.texi b/manual/time.texi index a128243d4d..eb5a36183e 100644 --- a/manual/time.texi +++ b/manual/time.texi @@ -1762,7 +1762,14 @@ A literal @samp{%} character. All other characters in the format string must have a matching character in the input string. Exceptions are white spaces in the input string -which can match zero or more white space characters in the format string. +which can match zero or more whitespace characters in the format string. + +@strong{Portability Note:} The XPG standard advises applications to use +at least one whitespace character (as specified by @code{isspace}) or +other non-alphanumeric characters between any two conversion +specifications. The @w{GNU C Library} does not have this limitation but +other libraries might have trouble parsing formats like +@code{"%d%m%Y%H%M%S"}. The @code{strptime} function processes the input string from right to left. Each of the three possible input elements (white space, literal, -- cgit v1.2.3