forked from KolibriOS/kolibrios
newlib: update
git-svn-id: svn://kolibrios.org@6099 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -199,38 +199,41 @@ DESCRIPTION
|
||||
o #
|
||||
The result is to be converted to an
|
||||
alternative form, according to the <[type]>
|
||||
character:
|
||||
character.
|
||||
o-
|
||||
|
||||
o+
|
||||
o o
|
||||
Increases precision to force the first
|
||||
digit of the result to be a zero.
|
||||
The alternative form output with the # flag depends on the <[type]>
|
||||
character:
|
||||
|
||||
o x
|
||||
A non-zero result will have a <<0x>>
|
||||
prefix.
|
||||
o+
|
||||
o o
|
||||
Increases precision to force the first
|
||||
digit of the result to be a zero.
|
||||
|
||||
o X
|
||||
A non-zero result will have a <<0X>>
|
||||
prefix.
|
||||
o x
|
||||
A non-zero result will have a <<0x>>
|
||||
prefix.
|
||||
|
||||
o a, A, e, E, f, or F
|
||||
The result will always contain a
|
||||
decimal point even if no digits follow
|
||||
the point. (Normally, a decimal point
|
||||
appears only if a digit follows it.)
|
||||
Trailing zeros are removed.
|
||||
o X
|
||||
A non-zero result will have a <<0X>>
|
||||
prefix.
|
||||
|
||||
o g or G
|
||||
The result will always contain a
|
||||
decimal point even if no digits follow
|
||||
the point. Trailing zeros are not
|
||||
removed.
|
||||
o a, A, e, E, f, or F
|
||||
The result will always contain a
|
||||
decimal point even if no digits follow
|
||||
the point. (Normally, a decimal point
|
||||
appears only if a digit follows it.)
|
||||
Trailing zeros are removed.
|
||||
|
||||
o all others
|
||||
Undefined.
|
||||
o g or G
|
||||
The result will always contain a
|
||||
decimal point even if no digits follow
|
||||
the point. Trailing zeros are not
|
||||
removed.
|
||||
|
||||
o all others
|
||||
Undefined.
|
||||
|
||||
o-
|
||||
o-
|
||||
|
||||
o <[width]>
|
||||
@@ -608,6 +611,12 @@ _sprintf_r(ptr, str, fmt, va_alist)
|
||||
return (ret);
|
||||
}
|
||||
|
||||
#ifdef _NANO_FORMATTED_IO
|
||||
int
|
||||
_EXFUN(_siprintf_r, (struct _reent *, char *, const char *, ...)
|
||||
_ATTRIBUTE ((__alias__("_sprintf_r"))));
|
||||
#endif
|
||||
|
||||
#ifndef _REENT_ONLY
|
||||
|
||||
int
|
||||
@@ -641,4 +650,9 @@ sprintf(str, fmt, va_alist)
|
||||
return (ret);
|
||||
}
|
||||
|
||||
#ifdef _NANO_FORMATTED_IO
|
||||
int
|
||||
_EXFUN(siprintf, (char *, const char *, ...)
|
||||
_ATTRIBUTE ((__alias__("sprintf"))));
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user