diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-11-26 21:45:33 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-11-26 21:45:33 +0000 |
commit | 05957bbd9027ee879c141fecb28cd7813ffdb466 (patch) | |
tree | 3cc211ff992f018b23d9b319a3637a13eedbff4f /manual | |
parent | 30f5deff34ae6466741678c23ae96d1a54171ca8 (diff) | |
download | glibc-05957bbd9027ee879c141fecb28cd7813ffdb466.tar.gz glibc-05957bbd9027ee879c141fecb28cd7813ffdb466.tar.xz glibc-05957bbd9027ee879c141fecb28cd7813ffdb466.zip |
Document problems with other strptime implementations.
Diffstat (limited to 'manual')
-rw-r--r-- | manual/time.texi | 9 |
1 files changed, 8 insertions, 1 deletions
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, |