Microchip Technology SW006023-1N Hoja De Datos
Implementation-Defined Behavior
2012 Microchip Technology Inc.
DS51686E-page 201
Implementation:
Temporary names will wrap around and be reused.
ISO Standard:
“Which changes of mode are permitted (if any), and under what circum-
stances (7.19.5.4).”
stances (7.19.5.4).”
Implementation:
The file is closed via the system level
close
function and re-opened
with the
open
function with the new mode. No additional restriction
beyond those of the application defined
open
and
close
functions
are imposed.
ISO Standard:
“The style used to print an infinity or NaN, and the meaning of the
n-char-sequence if that style is printed for a NaN (7.19.6.1, 7.24.2.1).”
n-char-sequence if that style is printed for a NaN (7.19.6.1, 7.24.2.1).”
Implementation:
No char sequence is printed.
NaN is printed as “NaN”.
Infinity is printed as “[-/+]Inf”.
NaN is printed as “NaN”.
Infinity is printed as “[-/+]Inf”.
ISO Standard:
“The output for %p conversion in the
fprintf
or
fwprintf
func-
tion (7.19.6.1, 7.24.2.1).”
Implementation:
Functionally equivalent to
%x
.
ISO Standard:
“The interpretation of a - character that is neither the first nor the last
character, nor the second where a ^ character is the first, in the scan-
list for %[ conversion in the
character, nor the second where a ^ character is the first, in the scan-
list for %[ conversion in the
fscanf
or
fwscanf
function (7.19.6.2,
7.24.2.1).”
Implementation:
Unknown
ISO Standard:
“The set of sequences matched by the %p conversion in the
fscanf
or
fwscanf
function (7.19.6.2, 7.24.2.2).”
Implementation:
The same set of sequences matched by %x.
ISO Standard:
“The interpretation of the input item corresponding to a %p conversion
in the
in the
fscanf
or
fwscanf
function (7.19.6.2, 7.24.2.2).”
Implementation:
If the result is not a valid pointer, the behavior is undefined.
ISO Standard:
“The value to which the macro
errno
is set by the
fgetpos
,
fsetpos
, or
ftell
functions on failure (7.19.9.1, 7.19.9.3,
7.19.9.4).”
Implementation:
If the result exceeds
LONG_MAX
,
errno
is set to
ERANGE
.
Other errors are application defined according to the application defini-
tion of the
tion of the
lseek
function.
ISO Standard:
“The meaning of the n-char-sequence in a string converted by the
strtod
,
strtof
,
strtold
,
wcstod
,
wcstof
, or
wcstold
function (7.20.1.3, 7.24.4.1.1).”
Implementation:
No meaning is attached to the sequence.
ISO Standard:
“Whether or not the
strtod
,
strtof
,
strtold
,
wcstod
,
wcstof
, or
wcstold
function sets
errno
to ERANGE when under-
flow occurs (7.20.1.3, 7.24.4.1.1).”
Implementation:
Yes.
ISO Standard:
“Whether the
calloc
,
malloc
, and
realloc
functions return a
Null Pointer or a pointer to an allocated object when the size requested
is zero (7.20.3).”
is zero (7.20.3).”
Implementation:
A pointer to a statically allocated object is returned.
ISO Standard:
“Whether open output streams are flushed, open streams are closed,
or temporary files are removed when the abort function is called
(7.20.4.1).”
or temporary files are removed when the abort function is called
(7.20.4.1).”
Implementation:
No.
ISO Standard:
“The termination status returned to the host environment by the abort
function (7.20.4.1).”
function (7.20.4.1).”
Implementation:
By default, there is no host environment.
ISO Standard:
“The value returned by the system function when its argument is not a
Null Pointer (7.20.4.5).”
Null Pointer (7.20.4.5).”