StdLib: Replace some non-ASCII characters with ASCII equivalents.

Signed-off-by: darylm503
Reviewed-by:   jljusten


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12302 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
darylm503 2011-09-08 22:41:36 +00:00
parent a0cd353dd2
commit e395633921
3 changed files with 9 additions and 9 deletions

View File

@ -68,7 +68,7 @@ struct dirent {
// on the file system volume. // on the file system volume.
UINT64 Attribute; // The time the file was created. UINT64 Attribute; // The time the file was created.
struct timespec CreateTime; // The time when the file was last accessed. struct timespec CreateTime; // The time when the file was last accessed.
struct timespec LastAccessTime; // The time when the files contents were last modified. struct timespec LastAccessTime; // The time when the file's contents were last modified.
struct timespec ModificationTime; // The attribute bits for the file. See below. struct timespec ModificationTime; // The attribute bits for the file. See below.
CHAR16 FileName[1]; // The Null-terminated name of the file. CHAR16 FileName[1]; // The Null-terminated name of the file.
}; };

View File

@ -257,14 +257,14 @@ struct tm;
Each conversion specification is introduced by the wide character %. After Each conversion specification is introduced by the wide character %. After
the %, the following appear in sequence: the %, the following appear in sequence:
Zero or more flags (in any order) that modify the meaning of the * Zero or more flags (in any order) that modify the meaning of the
conversion specification. conversion specification.
An optional minimum field width. If the converted value has fewer wide * An optional minimum field width. If the converted value has fewer wide
characters than the field width, it is padded with spaces (by default) characters than the field width, it is padded with spaces (by default)
on the left (or right, if the left adjustment flag, described later, on the left (or right, if the left adjustment flag, described later,
has been given) to the field width. The field width takes the form of has been given) to the field width. The field width takes the form of
an asterisk * (described later) or a nonnegative decimal integer. an asterisk * (described later) or a nonnegative decimal integer.
An optional precision that gives the minimum number of digits to appear * An optional precision that gives the minimum number of digits to appear
for the d, i, o, u, x, and X conversions, the number of digits to for the d, i, o, u, x, and X conversions, the number of digits to
appear after the decimal-point wide character for e, E, f, and F appear after the decimal-point wide character for e, E, f, and F
conversions, the maximum number of significant digits for the g and G conversions, the maximum number of significant digits for the g and G
@ -274,8 +274,8 @@ struct tm;
decimal integer; if only the period is specified, the precision is decimal integer; if only the period is specified, the precision is
taken as zero. If a precision appears with any other conversion taken as zero. If a precision appears with any other conversion
specifier, the behavior is undefined. specifier, the behavior is undefined.
An optional length modifier that specifies the size of the argument. * An optional length modifier that specifies the size of the argument.
A conversion specifier wide character that specifies the type of * A conversion specifier wide character that specifies the type of
conversion to be applied. conversion to be applied.
As noted above, a field width, or precision, or both, may be indicated by As noted above, a field width, or precision, or both, may be indicated by
@ -296,7 +296,7 @@ struct tm;
if a signed conversion results in no wide characters, a space is if a signed conversion results in no wide characters, a space is
prefixed to the result. If the space and + flags both appear, the prefixed to the result. If the space and + flags both appear, the
space flag is ignored. space flag is ignored.
# The result is converted to an alternative form. For o conversion, # The result is converted to an "alternative form". For o conversion,
it increases the precision, if and only if necessary, to force the it increases the precision, if and only if necessary, to force the
first digit of the result to be a zero (if the value and precision first digit of the result to be a zero (if the value and precision
are both 0, a single 0 is printed). For x (or X) conversion, a are both 0, a single 0 is printed). For x (or X) conversion, a
@ -384,7 +384,7 @@ struct tm;
The F conversion specifier produces INF or NAN instead The F conversion specifier produces INF or NAN instead
of inf or nan, respectively. of inf or nan, respectively.
e,E A double argument representing a floating-point number is converted e,E A double argument representing a floating-point number is converted
in the style [-]d.ddd e±dd, where there is one digit (which is in the style [-]d.ddd e +/- dd, where there is one digit (which is
nonzero if the argument is nonzero) before the decimal-point wide nonzero if the argument is nonzero) before the decimal-point wide
character and the number of digits after it is equal to the character and the number of digits after it is equal to the
precision; if the precision is missing, it is taken as 6; if the precision; if the precision is missing, it is taken as 6; if the

View File

@ -10,7 +10,7 @@
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
* Copyright (c) 1995, 1996, 1997 Kungliga Tekniska Högskolan * Copyright (c) 1995, 1996, 1997 Kungliga Tekniska Hogskolan
* (Royal Institute of Technology, Stockholm, Sweden). * (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved. * All rights reserved.
* *